The example for a go block http server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Dockerfile
README.md
apidoc.json
main.go

README.md

go sample

A sample go microservice block for kintohub

It is using go 1.10.0

First time setup

  • go build main.go

Run

  • ./main will launch the server on port 80

Run in docker

  • docker build -t go-test .
  • docker run -d --name=go-test -p 80:80 go-test