Documentation
¶
Overview ¶
Postgres is an example service demonstrating the PostgreSQL persistor with an init statement and a simple repository.
Start PostgreSQL and run the example:
docker run -it --rm -p 5432:5432 -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres postgres:11-alpine go run ./examples/persistence/postgres
Directories
¶
| Path | Synopsis |
|---|---|
|
Package repository provides the task repository used by the postgres persistence example.
|
Package repository provides the task repository used by the postgres persistence example. |
Click to show internal directories.
Click to hide internal directories.