/demo

Basic example API using Gin and some good resources to learn Go

Primary LanguageGo

Example JSON API using Go and Gin

A simple app that demonstrates the basics of Gin

Setup

  • Create directory $GOPATH/github.com/james-maloney
  • cd to the $GOPATH/github.com/james-maloney
  • Clone demo repo git clone https://github.com/james-maloney/demo
  • cd to $GOPATH/github.com/james-maloney/demo
  • install and run go build && ./demo
  • visit localhost:8000

All Source code is in main.go in the demo directory

Go Resources