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

Method SetFloat64

util/strutct.go:91–95  ·  view source on GitHub ↗
(name string, value float64)

Source from the content-addressed store, hash-verified

89 }
90}
91func (in *Instance) SetFloat64(name string, value float64) {
92 if i, ok := in.index[name]; ok {
93 in.instance.Field(i).SetFloat(value)
94 }
95}
96func (i *Instance) Interface() interface{} {
97 return i.instance.Interface()
98}

Callers

nothing calls this directly

Calls 1

FieldMethod · 0.80

Tested by

no test coverage detected