From https://lets-go.alexedwards.net/
- create postgresql role/user with schema privileges.
- https://peter.bourgon.org/go-best-practices-2016/#repository-structure
- https://github.com/thockin/go-build-template
see /scripts/README.md
git show a23ffe79ca:main.go
http POST :8080/ | tidy -errors -quiet
Use $1::interval
. See superior query
Or use How I use Postgres with Go