test
This commit is contained in:
parent
82febc8670
commit
5f5444f99f
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"github.com/maddalax/htmgo/framework/h"
|
"github.com/maddalax/htmgo/framework/h"
|
||||||
"github.com/maddalax/htmgo/framework/service"
|
"github.com/maddalax/htmgo/framework/service"
|
||||||
"htmgo-site/__htmgo"
|
"htmgo-site/__htmgo"
|
||||||
|
|
@ -19,6 +20,8 @@ func main() {
|
||||||
service.Set(locator, service.Singleton, markdown.NewRenderer)
|
service.Set(locator, service.Singleton, markdown.NewRenderer)
|
||||||
service.Set(locator, service.Singleton, cache.NewSimpleCache)
|
service.Set(locator, service.Singleton, cache.NewSimpleCache)
|
||||||
|
|
||||||
|
fmt.Printf("starting up\n")
|
||||||
|
|
||||||
h.Start(h.AppOpts{
|
h.Start(h.AppOpts{
|
||||||
ServiceLocator: locator,
|
ServiceLocator: locator,
|
||||||
LiveReload: true,
|
LiveReload: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue