replication-systems/cmd/web
tamsin johnson 70507a82b3 bootstrap a go application
planning to make this some kind of unhinged microfrontend hotwired mess.

this is basically the setup walked through in "Lets Go", but pared down.

since we plan to ship this in k8s behind nginx and cert-manager, there's no need
to do TLS termination in go.

i like httprouter and alice, so i'm including them here early.

use `go:embed` to get our templates and static assets (neither of which exist
yet) into the binary so we can ship this whole thing to a commodity `go`
container.
2024-02-24 12:39:58 -08:00
..
handlers.go bootstrap a go application 2024-02-24 12:39:58 -08:00
logger.go bootstrap a go application 2024-02-24 12:39:58 -08:00
main.go bootstrap a go application 2024-02-24 12:39:58 -08:00
routes.go bootstrap a go application 2024-02-24 12:39:58 -08:00