4 ms·
Ah the fix was simple: bin/rev run github.com/... But now it fails with an error that I don't really know how to fix as a Go noob ... Go Compilation Error (in
by st3fan 14y ago
Ah the fix was simple: bin/rev run github.com/...
But now it fails with an error that I don't really know how to fix as a Go noob ...
Go Compilation Error (in /usr/local/Cellar/go/1.0.2/src/pkg/github.com/robfig/revel/samples/booking/app/controllers/db.go:6): import "github.com/mattn/go-sqlite3": cannot find package
- robfig 14y agoAh, this is because the app uses go-sqlite3, which you haven't gotten in your local repo yet. I need to fix the command line to download all dependencies first. You can fix it manually with: go get github.com/mattn/go-sqlite3 Also, I believe that the go command line figures out the dependencies for you, so this should get everything you need: go get github.com/robfig/revel/samples/booking