- Chi (http router)
- oapi-codegen (open api tool)
- Sqlx (database)
- Goose (postgres db migration tool)
- slog (standard library slog)
- goose command
- create a new sql migration
- goose -s create "filename" sql
- migration to up
- goose -dir db/postgres/migrations postgres "db_connection_string" up
- migration to down
- goose -dir db/postgres/migrations postgres "db_connection_string" down
- create a new sql migration
make openapi
-
project layout
-
openapi yaml example
-
api documentation
-
sqlx
-
xid