This commit is contained in:
maddalax 2024-11-05 15:09:22 -06:00
parent 6acfc74a65
commit e424dac826

View file

@ -1,6 +1,7 @@
package main
import (
"fmt"
"github.com/maddalax/htmgo/framework/h"
"github.com/maddalax/htmgo/framework/service"
"htmgo-site/__htmgo"
@ -19,6 +20,8 @@ func main() {
service.Set(locator, service.Singleton, markdown.NewRenderer)
service.Set(locator, service.Singleton, cache.NewSimpleCache)
fmt.Printf("starting up\n")
h.Start(h.AppOpts{
ServiceLocator: locator,
LiveReload: true,