chore: fix goweb tests
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user