A walking skeleton of a go project using docker compose
- You can use the standard Go tools if you wish, see
build-app.sh
- In Jenkins this will be built using
test.sh
which uses Docker.run-locally.sh
also uses Docker so that you can use all sorts of databases or whatever insidedocker-compose.yml
Basically your external lib deps live in /vendor
You could manage this manually, but this project has govendor installed so you should probably use that.
From there, there's tons of resources out there. Notable things:
- The official go blog Lots of in-depth articles
- Ben Johnson has an ongoing series of in-depth guides to the standard library. The post on the io package is lovely and you will end up using it a lot so worth a read.
- Go by example
- Want the documentation of all of your local packages including stdlib?
godoc -http=:6060