Skip to content

JustinBeckwith/coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coffee

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 gulp.

godep

Go dependencies are tracked using godep.

  • Install godep with go get github.com/tools/godep
  • Run godep save after installing new dependencies with go get
  • Use godep go run to run the application with the correct rewritten $GOPATH

About

A silly Go / Gin app that finds coffee based on my current location.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published