This is the example repository for this blog post
To run the server on your system:
- Make sure you have dep installed
- Run
dep ensure
to install dependencies - Run
go build
to create the binary (blog_example__go_web_app
) - Run the binary :
./blog_example__go_web_app
To run tests:
- Run
dep ensure
to install dependencies - Run
go test ./...