Fix imports

This commit is contained in:
Florin Dragos 2015-09-30 17:48:17 +03:00
parent d9f4dcdb25
commit 2403cad5eb
9 changed files with 20 additions and 20 deletions

View File

@ -1,17 +1,17 @@
FROM golang FROM golang
RUN mkdir -p $GOPATH/src/github.com/ActiveState/tail/ RUN mkdir -p $GOPATH/src/github.com/hpcloud/tail/
ADD . $GOPATH/src/github.com/ActiveState/tail/ ADD . $GOPATH/src/github.com/hpcloud/tail/
# expecting to fetch dependencies successfully. # expecting to fetch dependencies successfully.
RUN go get -v github.com/ActiveState/tail RUN go get -v github.com/hpcloud/tail
# expecting to run the test successfully. # expecting to run the test successfully.
RUN go test -v github.com/ActiveState/tail RUN go test -v github.com/hpcloud/tail
# expecting to install successfully # expecting to install successfully
RUN go install -v github.com/ActiveState/tail RUN go install -v github.com/hpcloud/tail
RUN go install -v github.com/ActiveState/tail/cmd/gotail RUN go install -v github.com/hpcloud/tail/cmd/gotail
RUN $GOPATH/bin/gotail -h || true RUN $GOPATH/bin/gotail -h || true

View File

@ -8,4 +8,4 @@ fmt:
# Run the test in an isolated environment. # Run the test in an isolated environment.
fulltest: fulltest:
docker build -t activestate/tail . docker build -t hpcloud/tail .

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/ActiveState/tail.svg)](https://travis-ci.org/ActiveState/tail) [![Build Status](https://travis-ci.org/hpcloud/tail.svg)](https://travis-ci.org/ActiveState/tail)
# Go package for tail-ing files # Go package for tail-ing files
@ -11,7 +11,7 @@ for line := range t.Lines {
} }
``` ```
See [API documentation](http://godoc.org/github.com/ActiveState/tail). See [API documentation](http://godoc.org/github.com/hpcloud/tail).
## Log rotation ## Log rotation
@ -20,8 +20,8 @@ designed to work with log rotation tools.
## Installing ## Installing
go get github.com/ActiveState/tail/... go get github.com/hpcloud/tail/...
## Windows support ## Windows support
This package [needs assistance](https://github.com/ActiveState/tail/labels/Windows) for full Windows support. This package [needs assistance](https://github.com/hpcloud/tail/labels/Windows) for full Windows support.

View File

@ -5,7 +5,7 @@ package main
import ( import (
"flag" "flag"
"fmt" "fmt"
"github.com/ActiveState/tail" "github.com/hpcloud/tail"
"os" "os"
) )

View File

@ -12,9 +12,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/ActiveState/tail/ratelimiter" "github.com/hpcloud/tail/ratelimiter"
"github.com/ActiveState/tail/util" "github.com/hpcloud/tail/util"
"github.com/ActiveState/tail/watch" "github.com/hpcloud/tail/watch"
"gopkg.in/tomb.v1" "gopkg.in/tomb.v1"
) )

View File

@ -14,7 +14,7 @@ import (
"time" "time"
"./watch" "./watch"
"github.com/ActiveState/tail/ratelimiter" "github.com/hpcloud/tail/ratelimiter"
) )
func init() { func init() {

View File

@ -3,7 +3,7 @@
package tail package tail
import ( import (
"github.com/ActiveState/tail/winfile" "github.com/hpcloud/tail/winfile"
"os" "os"
) )

View File

@ -7,7 +7,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/ActiveState/tail/util" "github.com/hpcloud/tail/util"
"gopkg.in/fsnotify.v0" "gopkg.in/fsnotify.v0"
"gopkg.in/tomb.v1" "gopkg.in/tomb.v1"
) )

View File

@ -3,7 +3,7 @@
package watch package watch
import ( import (
"github.com/ActiveState/tail/util" "github.com/hpcloud/tail/util"
"gopkg.in/tomb.v1" "gopkg.in/tomb.v1"
"os" "os"
"runtime" "runtime"