cmd

command
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL