Hello guys,
I try to connect my code to html view.
this is a way that I try to connect to html :
https://play.golang.org/p/PCv74Rxupj3
but I got this error :
panic: html/template: pattern matches no files: view/*.gohtml
goroutine 1 [running]:
html/template.Must(…)
/home/mehrdad/workspace/go/go/src/html/template/template.go:372
github.com/mehrdaddolatkhah/cafekala_server/pkg/business/web.init.0()
/home/mehrdad/workspace/go/projects/src/mehrdaddolatkhah/cafekala_back/pkg/business/web/AuthWebHandler.go:26 +0x96
exit status 2
and this is my layout structure:
-cmd
-pkg
– business
—web
----AuthWebHandler.go
–domain
–repository
–transport
–view
—login.gohtml
may please guide me to fix this?