Coffee is an example of a go application written with the web framework gin. Bower is used for client side dependencies, gulp is used for the build. To run locally, clone and run
gulp. Similar to a node.js application, the gulp file is set up to detect any changes in server side code, and automatically restart the server. It's a nice workflow for go based web applications.
To get started:
gulp, bower, gin
This app uses gulp for the build, and bower for dependency management. The gulpfile also watches for changes in any *.go files and automatically restarts the server. For more information, check out the gulpfile.
To start the dev server, just run cd into the source directory and run
Go dependencies are tracked using godep.
- Install godep with
go get github.com/tools/godep
godep saveafter installing new dependencies with
godep go runto run the application with the correct rewritten $GOPATH