MCPcopy Create free account
hub / github.com/Monibuca/engine / SetString

Method SetString

util/strutct.go:76–80  ·  view source on GitHub ↗
(name, value string)

Source from the content-addressed store, hash-verified

74 }
75}
76func (in *Instance) SetString(name, value string) {
77 if i, ok := in.index[name]; ok {
78 in.instance.Field(i).SetString(value)
79 }
80}
81func (in *Instance) SetBool(name string, value bool) {
82 if i, ok := in.index[name]; ok {
83 in.instance.Field(i).SetBool(value)

Callers

nothing calls this directly

Calls 1

FieldMethod · 0.80

Tested by

no test coverage detected