EchoGen is a simple Yeoman scaffolding for Labstack's Echo v3 web framework.
It uses Glide for application's dependencies. Go to glide.yaml.tmpl to see current dependencies versions.
$ go get -u github.com/mdouchement/echogen
# Dependencies that you need to develop your application.
$ go get -u github.com/Masterminds/glide
$ go get -u github.com/jteeuwen/go-bindata/...
# Used in Makefile for LiveReload.
$ brew install fswatch
EchoGen assumes that you have a well configured $GOPATH
(e.g. $GOPATH=/go/
) to generates the whole project.
$ cd $GOPATH/src/github.com/mdouchement
$ echogen --name lss
$ cd lss
$ glide install
# run the server with LiveReload
$ make serve
# or manually
$ go generate && go run myapp.go server -b localhost -p 5000
MIT
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request