Merge pull request #14 from LazyBachelor/LPM-52

LPM-52 Survey Tasks
This commit is contained in:
Robin Olsen
2026-02-13 01:28:07 -08:00
committed by GitHub
24 changed files with 577 additions and 130 deletions

View File

@@ -11,10 +11,16 @@ import (
type WebConfig = service.Config
type Web struct{}
func NewWeb() *Web {
return &Web{}
}
//go:embed assets/*
var assets embed.FS
func Run(ctx context.Context, config WebConfig) error {
func (w *Web) Run(ctx context.Context, config WebConfig) error {
svc, cleanup, err := service.NewServices(ctx, config)
if err != nil {
return err