Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 471 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 471 Bytes

Sample Golang To Do app

The application code is based on a blog published by Emmanuel John.

Running

Running with in-memory store

go run main.go

Running with postgres

export PGUSER=<pg user> # defaults to postgres
export PGPASSWORD=<pg password>
export PGSSLMODE=<ssl mode> # defaults to require
export PGHOST=<pg host>
export DBNAME=<db name> # defaults to mydb