MCPcopy
hub / github.com/duke-git/lancet / Value

Method Value

structs/field.go:36–38  ·  view source on GitHub ↗

Value returns the underlying value of the field. Play: https://go.dev/play/p/qufYEU2o4Oi

()

Source from the content-addressed store, hash-verified

34// Value returns the underlying value of the field.
35// Play: https://go.dev/play/p/qufYEU2o4Oi
36func (f *Field) Value() any {
37 return f.rvalue.Interface()
38}
39
40// IsEmbedded returns true if the given field is an embedded field.
41// Play: https://go.dev/play/p/wV2PrbYm3Ec

Callers 2

IsZeroMethod · 0.95
IsNilMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected