run 'go fmt' (and fix 'make fmt' in Makefile)
This commit is contained in:
parent
ebc25f9788
commit
6ffcd854c1
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ test: *.go
|
|||
go test -v
|
||||
|
||||
fmt:
|
||||
go fmt .
|
||||
gofmt -w .
|
||||
|
||||
# Run the test in an isolated environment.
|
||||
fulltest:
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/ActiveState/tail"
|
||||
"flag"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
package watch
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ActiveState/tail/util"
|
||||
"github.com/howeyc/fsnotify"
|
||||
"launchpad.net/tomb"
|
||||
"os"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue