Documentation
¶
Overview ¶
Pet Store example server.
Prerequisites: a running PostgreSQL instance.
Quick start with Docker:
docker run -d --name petstore-pg -p 5432:5432 \ -e POSTGRES_USER=petstore -e POSTGRES_PASSWORD=petstore -e POSTGRES_DB=petstore \ postgres:18-alpine
Then run:
go run ./examples/02petstore/cmd
Open http://localhost:8080 for Swagger UI.
Click to show internal directories.
Click to hide internal directories.