Skip to content
Snippets Groups Projects
README.md 550 B

Webservice

A Go-based simple web service meant to be the subject for any tutorial or maybe even the project work.

Prerequisites:

  • Go toolchain (install via system package manager or by hand)

Primary interactions:

  1. Install dependencies: go get -t ./...
  2. Run locally: go run .
  3. Execute unit tests: go test -race -v ./...
  4. Build artifact: go build -o ./artifact.bin ./*.go

To build for another platform, set GOOS and GOARCH. For more details, please refer to the Makefile.