A port of the Habitat Builder API to Go.
go run cmd/builder-api/main.go
- POST /depot/origins
- GET /depot/origin/{origin}
- PUT /depot/origin/{origin}
The models are generated using sqlboiler. if you make db changes they'll need to be regenerated. To do so just run go generate ./...
from the root of the repo.
You'll need sqlboiler and sqlboiler-psql in your gopath. Instructions can be found here