An outline for a Go REST tutorial:
- Introduction
- The goals of this tutorial
- Why Go?
- Why micro-services?
- Go minimum essentials
- Setup your environment
- A git client
- Go compiler and tools
- Atom editor and the API Workbench
- NodeJS with raml2html and RAML Markdown theme
- REST testing tools
- Concepts
- JSON concepts
- CGI concepts
- REST concepts
- Designing our first REST API
- Taking a top-down approach with RAML
- Using JSON schemas in RAML
- Publishing your API
- Assembling our first REST API
- The anatomy of a Go REST micro-service
- Write boiler-plate Go code using RAML
- Using JSON schemas in Go
- Adding some data
- Data Elements
- Methods
- Integrating data into the handlers
- Unit Testing
- Go test
- Code coverage