MCPcopy Create free account
hub / github.com/darjun/go-daily-lib / init

Function init

goth/github/main.go:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22)
23
24func init() {
25 ptTemplate = template.Must(template.New("").ParseGlob("tpls/*.tpl"))
26}
27
28func LoginHandler(w http.ResponseWriter, r *http.Request) {
29 ptTemplate.ExecuteTemplate(w, "login.tpl", nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected