replication-systems/ui/efs.go
tamsin woo 7e0c3aacae 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 21:07:34 -08:00

9 lines
79 B
Go

package ui
import (
"embed"
)
//go:embed "html" "static"
var Files embed.FS