CGO_ENABLED=1 go build .
# github.com/infogulch/xtemplate-caddy
../xtemplate-caddy/caddyfile.go:30:24: t.Template undefined (type *XTemplateModule has no field or method Template)
../xtemplate-caddy/caddyfile.go:34:24: t.Template undefined (type *XTemplateModule has no field or method Template)
../xtemplate-caddy/caddyfile.go:38:24: t.Template undefined (type *XTemplateModule has no field or method Template)
../xtemplate-caddy/caddyfile.go:49:24: t.Context undefined (type *XTemplateModule has no field or method Context)
../xtemplate-caddy/caddyfile.go:60:24: t.Database undefined (type *XTemplateModule has no field or method Database)
../xtemplate-caddy/caddyfile.go:64:24: t.Database undefined (type *XTemplateModule has no field or method Database)
../xtemplate-caddy/caddyfile.go:75:20: t.UserConfig undefined (type *XTemplateModule has no field or method UserConfig)
../xtemplate-caddy/caddyfile.go:81:8: t.UserConfig undefined (type *XTemplateModule has no field or method UserConfig)
../xtemplate-caddy/module.go:46:7: m.Database undefined (type *XTemplateModule has no field or method Database)
../xtemplate-caddy/module.go:47:62: m.Database undefined (type *XTemplateModule has no field or method Database)
../xtemplate-caddy/module.go:47:62: too many errors
Would like to do direct builds also for more control...
but I am getting ...