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

Struct HTML

render/html.go:45–49  ·  view source on GitHub ↗

HTML contains template reference and its name with given interface object.

Source from the content-addressed store, hash-verified

43
44// HTML contains template reference and its name with given interface object.
45type HTML struct {
46 Template *template.Template
47 Name string
48 Data any
49}
50
51var htmlContentType = []string{"text/html; charset=utf-8"}
52

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected