Skip to content

Instantly share code, notes, and snippets.

@sebastienfr
Last active July 4, 2018 21:51
Show Gist options
  • Save sebastienfr/20143e135e72eeaec795df187a6dbb84 to your computer and use it in GitHub Desktop.
Save sebastienfr/20143e135e72eeaec795df187a6dbb84 to your computer and use it in GitHub Desktop.
prerequisites for "your first microservice in Go" codelab

To get prepared for the Go microservice codelab you need to :

  • Know the Go syntax by having a look at the tour of Go,
  • For Linux and MacOS a prepared workspace is provided,
  • Windows computer may have VirtualBox installed to be able to import a prepared virtual machine containing the lab
  • Everybody has Docker installed on its laptop to be able to launch MongoDB and your docker packaged microservice

For those who are willing to setup their environnement by hand :

  • Install Go version 1.7 minimum, 1.10.3 recommended
  • Prepare a Go workspace (3 directories : ~/go/src, ~/go/pkg, ~/go/bin)
  • Install Docker et Docker-compose
  • Install JQ or Postman.
  • Install Make
  • Install a Go compatible IDE : VSC + Go plugin recommended, Jetbrains Goland or Ultimate IntelliJ.
  • Clone handsongo project in the workspace under ~/go/src/github.com/Sfeir/handsongo and checkout start branch.
  • Check that the project compiles with the following command returning no error : make all

You are done !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment