sea-kun:kaikun sea_kun$ make deps
cp env/env.go.tmpl env/env.go
cp -i _etc/seed.db dev.db
which dep || go get -u github.com/golang/dep/...
which sql-migrate || go get -u github.com/rubenv/sql-migrate/...
dep ensure
make: dep: No such file or directory
make: *** [deps] Error 1
sea-kun:kaikun sea_kun$ make run
go fmt $(go list ./...)
go vet $(go list ./...)
controller/message.go:10:2: cannot find package "github.com/gin-gonic/gin" in any of:
/usr/local/go/src/github.com/gin-gonic/gin (from $GOROOT)
/Users/sea_kun/go/src/github.com/gin-gonic/gin (from $GOPATH)
make: *** [vet] Error 1
sea-kun:kaikun sea_kun$ make deps
which dep || go get -u github.com/golang/dep/...
which sql-migrate || go get -u github.com/rubenv/sql-migrate/...
dep ensure
make: dep: No such file or directory
make: *** [deps] Error 1
sea-kun:kaikun sea_kun$ export PATH=$PATH:$(go env GOPATH)/bin
sea-kun:kaikun sea_kun$ make deps
which dep || go get -u github.com/golang/dep/...
/Users/sea_kun/go/bin/dep
which sql-migrate || go get -u github.com/rubenv/sql-migrate/...
/Users/sea_kun/go/bin/sql-migrate
dep ensure
sea-kun:kaikun sea_kun$ make run
go fmt $(go list ./...)
go vet $(go list ./...)
go run server.go
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] Loaded HTML Templates (2):
-
- index.html