summaryrefslogtreecommitdiffstats
path: root/notes/golang.txt
blob: 090a5942537be000a7910d94a3139059b9e7cbfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

- pq: basic postgres driver and ORM (similar to sqlalchemy?)
- sqlx: small extensions to builtin sql; row to struct mapping


code generation from SQL schema:
- https://github.com/xo/xo
- https://github.com/volatiletech/sqlboiler
- kallax

database migrations:
- goose
- https://github.com/mattes/migrate

maybe also:
- https://github.com/oklog/ulid
  like a UUID, but base32 and "sortable" (timestamp + random)

for auth, start with oauth2... orcid?

debug postgres with gocmdpev

## Non-API stuff

- logrus structured logging (or zap?)
- testify tests
- viper config