Completed examples and starting points for the tutorials at granitic.io/tutorials
You must have Go 1.11 or later and have your GOPATH
environment variable correctly set.
You must have followed the Granitic installation instructions and (if you want to use YAML for configuration) the Granitic YAML installation instructions
If you clone this repo to a location inside your GOPATH, you will need to the environment variable
GO111MODULE=on
Open a terminal in the folder where you have checked out this repo.
cd json/001/recordstore
go mod download
grnc-bind && go build && ./recordstore
Open a terminal in the folder where you have checked out this repo.
cd yaml/001/recordstore
go mod download
grnc-yaml-bind && go build && ./recordstore
Each numbered folder contains the completed code for a tutorial. For example, if I wanted to followed tutorial 3, I would start using the code for tutorial 2.