franziseidl / go-mux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Badge

example workflow

go-mux: Microservice in GoTutorial

Prerequisites:

  1. GitHub Account
  2. PostgreSql installed and configured (see Tutorial)
  • make sure user/role 'postgres' is available
  • environment variables properly set
    • export APP_DB_USERNAME=postgres
    • export APP_DB_PASSWORD=<whatever password you use>
    • export APP_DB_NAME=postgres
  1. GoLang installed (see golang.org)

Hints/Info

  • When you run go test it compiles all the files ending in _test.go into a test binary and then runs that binary to execute the tests. Since the go test binary is simply a compiled go program, it can process command line arguments like any other program.
  • 2nd part: add Travis (.travis.yml), see docs.travis-ci.com

About

License:MIT License


Languages

Language:Go 97.8%Language:Dockerfile 2.2%