🧪 Laboratory for my Go and infrastructure experiments
Because oapi-codegen
is still under development, you will need to have NodeJS installed so you can flatten out the schema.
- NodeJS (any recent version)
- Go 1.19+
./run.sh
: runs a binary underservices/$1/cmd/$2
with hot-reloading./curl.sh
: few useful curls for testing
core/ # core tooling
notes/ # learnings so far
services/
<service_name>
cmd/ # binaries
<api>
<cron>
<subscriber>
internal/
...
sqlc.yaml # sqlc/repository generation config
openapi.yaml # openapi3 schema definitions
oapi-codegen.yaml # oapi-codegen generation config
gen.go # config for `go generate ./...`