- Run
make init - Edit
sqlc.yamlto configure schema, queries, and destination folder/package - Run
make generate
- Run
docker-compose up -d - Open adminer at
localhost:8081 - Login with credentials:
- username:
postgres - password:
secret - pgsql:
db:5432 - database:
postgres
- username:
- Click 'SQL Command'
- Paste code from
schema.sqland execute
- Run
go run main.go - See new user in console
- See new user in adminer