MCPcopy
hub / github.com/gofiber/fiber / Chains

Method Chains

internal/logtemplate/template.go:106–111  ·  view source on GitHub ↗

Chains returns the fixed template parts and functions used by Execute.

()

Source from the content-addressed store, hash-verified

104
105// Chains returns the fixed template parts and functions used by Execute.
106func (t *Template[C, D]) Chains() ([][]byte, []Func[C, D]) {
107 if t == nil {
108 return nil, nil
109 }
110 return t.fixedParts, t.funcChain
111}
112
113// Execute renders the template into output.
114func (t *Template[C, D]) Execute(output Buffer, ctx C, data *D) error {

Callers 2

NewFunction · 0.80

Calls

no outgoing calls

Tested by 1