This repo contains all the code shown in my DevDay-Talk.
Learn:
Go-Libs:
Start at cmd/starter/main.go
To generate the sqlc go-classes run:
cd pkg/database && sqlc generate
To migrate a local postgresql database run:
# setup
migrate -source file://./migrations -database "postgresql://postgres:postgres@localhost:5432/devday?sslmode=disable" up 1
# teardown
migrate -source file://./migrations -database "postgresql://postgres:postgres@localhost:5432/devday?sslmode=disable" down 1