/letsgo_snippets

Let's go book code

Primary LanguageGo

lets-go project

From https://lets-go.alexedwards.net/

TODO

  • create postgresql role/user with schema privileges.

Tips

Project structure

Testing

see /scripts/README.md

Gotchas

git: show older file version

git show a23ffe79ca:main.go

html linter

tidy

http POST :8080/ | tidy -errors -quiet

interval in prepared pg statement:

Use $1::interval. See superior query

Or use How I use Postgres with Go

newline in text columns

use "extended" constant

example