2 ms·
I recently put together a "stack" of libraries to use for a new webapp project in Go; here's what I ended up using: - go-chi for routing - pgx for Postgres dri
by geoka9 2y ago
I recently put together a "stack" of libraries to use for a new webapp project in Go; here's what I ended up using:
- go-chi for routing
- pgx for Postgres driver
- pressly/goose for migrations (I like how it can embed migrations into the binary as long as they are in SQL/not Go)
- go-jet (for type-safe SQL; sort of - it lets you write 100% Go that looks like 98% SQL)
- templ
- htmx (not Go-specific, but feels like a match made in heaven for templ)
- authboss for auth
I'm very happy with all of these choices, except maybe authboss - it's a powerful auth framework, but it took a bit of figuring out since the documentation is not very comprehensive; but it worked out in the end.