Restful API microservice built with Golang and Gin
Switch branches/tags
Nothing to show
Clone or download
Marshall Shen
Marshall Shen Dockerfile
Latest commit bfbe28a Aug 11, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Dockerfile Aug 11, 2017
Dockerfile Dockerfile Aug 11, 2017 Dockerfile Aug 11, 2017
main.go app prototype Aug 11, 2017
main_test.go app prototype Aug 11, 2017


A simple RESTful API microservice in Go

App Dependency

Make sure you have the following installed:

  1. MySQL, and running on local machine
  2. Go Language (1.8 or above)

Install App

  1. Clone the application
  2. Install Go package dependency

go get go get go get

  1. Log into MySQL, create a instructions database

Testing App


go test

Run App

  1. Start Go app locally

go run main.go

  1. Play with instruction endpoints

Run App with Docker

Make sure Docker is installed before executing the command below

docker build -t instructions-app . # inside the app directory