Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix module path #485

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adapters/multiline/multiline.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

docker "github.com/fsouza/go-dockerclient"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion adapters/multiline/multiline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

docker "github.com/fsouza/go-dockerclient"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

type dummyAdapter struct {
Expand Down
2 changes: 1 addition & 1 deletion adapters/raw/raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"text/template"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions adapters/syslog/syslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"text/template"
"time"

"github.com/gliderlabs/logspout/cfg"
"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/cfg"
"github.com/gliderlabs/logspout/v3/router"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions adapters/syslog/syslog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"testing"
"time"

_ "github.com/gliderlabs/logspout/transports/tcp"
_ "github.com/gliderlabs/logspout/transports/tls"
_ "github.com/gliderlabs/logspout/transports/udp"
_ "github.com/gliderlabs/logspout/v3/transports/tcp"
_ "github.com/gliderlabs/logspout/v3/transports/tls"
_ "github.com/gliderlabs/logspout/v3/transports/udp"

docker "github.com/fsouza/go-dockerclient"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions custom/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
_ "github.com/looplab/logspout-logstash"

_ "github.com/gliderlabs/logspout/adapters/syslog"
_ "github.com/gliderlabs/logspout/transports/tcp"
_ "github.com/gliderlabs/logspout/transports/tls"
_ "github.com/gliderlabs/logspout/transports/udp"
_ "github.com/gliderlabs/logspout/v3/adapters/syslog"
_ "github.com/gliderlabs/logspout/v3/transports/tcp"
_ "github.com/gliderlabs/logspout/v3/transports/tls"
_ "github.com/gliderlabs/logspout/v3/transports/udp"
)
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/gliderlabs/logspout
module github.com/gliderlabs/logspout/v3

go 1.13

Expand Down
2 changes: 1 addition & 1 deletion healthcheck/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/gorilla/mux"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion httpstream/httpstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/gorilla/mux"
"golang.org/x/net/websocket"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

func init() {
Expand Down
5 changes: 3 additions & 2 deletions logspout.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package main


import (
"fmt"
"log"
"os"
"strings"
"text/tabwriter"

"github.com/gliderlabs/logspout/cfg"
"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/cfg"
"github.com/gliderlabs/logspout/v3/router"
)

// Version is the running version of logspout
Expand Down
18 changes: 9 additions & 9 deletions modules.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package main

import (
_ "github.com/gliderlabs/logspout/adapters/multiline"
_ "github.com/gliderlabs/logspout/adapters/raw"
_ "github.com/gliderlabs/logspout/adapters/syslog"
_ "github.com/gliderlabs/logspout/healthcheck"
_ "github.com/gliderlabs/logspout/httpstream"
_ "github.com/gliderlabs/logspout/routesapi"
_ "github.com/gliderlabs/logspout/transports/tcp"
_ "github.com/gliderlabs/logspout/transports/tls"
_ "github.com/gliderlabs/logspout/transports/udp"
_ "github.com/gliderlabs/logspout/v3/adapters/multiline"
_ "github.com/gliderlabs/logspout/v3/adapters/raw"
_ "github.com/gliderlabs/logspout/v3/adapters/syslog"
_ "github.com/gliderlabs/logspout/v3/healthcheck"
_ "github.com/gliderlabs/logspout/v3/httpstream"
_ "github.com/gliderlabs/logspout/v3/routesapi"
_ "github.com/gliderlabs/logspout/v3/transports/tcp"
_ "github.com/gliderlabs/logspout/v3/transports/tls"
_ "github.com/gliderlabs/logspout/v3/transports/udp"
)
2 changes: 1 addition & 1 deletion router/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"strings"

"github.com/gliderlabs/logspout/cfg"
"github.com/gliderlabs/logspout/v3/cfg"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion router/pump.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

docker "github.com/fsouza/go-dockerclient"

"github.com/gliderlabs/logspout/cfg"
"github.com/gliderlabs/logspout/v3/cfg"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion router/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"sync"
"time"

"github.com/gliderlabs/logspout/cfg"
"github.com/gliderlabs/logspout/v3/cfg"
)

// Routes is all the configured routes
Expand Down
2 changes: 1 addition & 1 deletion routesapi/routesapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/gorilla/mux"

"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/router"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions transports/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package tcp
import (
"net"

"github.com/gliderlabs/logspout/adapters/raw"
"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/adapters/raw"
"github.com/gliderlabs/logspout/v3/router"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions transports/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"os"
"strings"

"github.com/gliderlabs/logspout/adapters/raw"
"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/adapters/raw"
"github.com/gliderlabs/logspout/v3/router"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions transports/udp/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package udp
import (
"net"

"github.com/gliderlabs/logspout/adapters/raw"
"github.com/gliderlabs/logspout/router"
"github.com/gliderlabs/logspout/v3/adapters/raw"
"github.com/gliderlabs/logspout/v3/router"
)

const (
Expand Down