Skip to content
satimotoPublic

About

Satimoto public API using golang

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

181 Commits

Folders and files

Repository files navigation

go-api

Satimoto public API using golang

On schema changes

Whenever the SQL or GraphQL schema files change the following should be run

Config

Some dependencies require using bzr repository

brew install bzr
go env -w GOVCS="launchpad.net:bzr,public:git|hg,private:all"

Generate the GraphQL resolvers

Generates the GraphQL models and resolvers from schema files

go mod download github.com/99designs/gqlgen
gqlgen

Development

Run

go run ./cmd/api

Build

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/main cmd/api/main.go

About

Satimoto public API using golang

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages