chore: fix goweb tests
This commit is contained in:
parent
9343970672
commit
fe90d81b5d
|
@ -20,7 +20,9 @@ func Example_usage() {
|
|||
|
||||
// On expose le service "template" avec l'implémentation
|
||||
// basée sur le moteur de rendu HTML de la librairie standard
|
||||
container.Provide(template.ServiceName, html.ServiceProvider("./templates"))
|
||||
container.Provide(template.ServiceName, html.ServiceProvider(
|
||||
html.NewDirectoryLoader("./templates"),
|
||||
))
|
||||
|
||||
router := chi.NewRouter()
|
||||
|
||||
|
|
Loading…
Reference in New Issue