Satimoto public API using golang
Whenever the SQL or GraphQL schema files change the following should be run
Some dependencies require using bzr repository
brew install bzr
go env -w GOVCS="launchpad.net:bzr,public:git|hg,private:all"
Generates the GraphQL models and resolvers from schema files
go mod download github.com/99designs/gqlgen
gqlgen
go run ./cmd/api
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/main cmd/api/main.go