MCPcopy
hub / github.com/gin-gonic/gin / LoadHTMLFS

Function LoadHTMLFS

ginS/gins.go:30–32  ·  view source on GitHub ↗

LoadHTMLFS is a wrapper for Engine.LoadHTMLFS.

(fs http.FileSystem, patterns ...string)

Source from the content-addressed store, hash-verified

28
29// LoadHTMLFS is a wrapper for Engine.LoadHTMLFS.
30func LoadHTMLFS(fs http.FileSystem, patterns ...string) {
31 engine().LoadHTMLFS(fs, patterns...)
32}
33
34// SetHTMLTemplate is a wrapper for Engine.SetHTMLTemplate.
35func SetHTMLTemplate(templ *template.Template) {

Callers

nothing calls this directly

Calls 1

LoadHTMLFSMethod · 0.80

Tested by

no test coverage detected