MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Fields

Method Fields

module/dynamic-module/driver/driver.go:127–133  ·  view source on GitHub ↗
(fields ...*Field)

Source from the content-addressed store, hash-verified

125}
126
127func (d *Define) Fields(fields ...*Field) []*Field {
128 fs := make([]*Field, 0, len(d.fields)+len(fields)+len(defaultFields))
129 fs = append(fs, d.fields...)
130 fs = append(fs, fields...)
131 fs = append(fs, defaultFields...)
132 return fs
133}
134
135func (d *Define) Render() map[string]interface{} {
136 return d.render

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected