MCPcopy Create free account
hub / github.com/abice/go-enum / Ptr

Method Ptr

example/color_enum.go:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (x Color) Ptr() *Color {
120 return &x
121}
122
123// MarshalText implements the text marshaller method.
124func (x Color) MarshalText() ([]byte, error) {

Callers 4

TestSQLExtrasFunction · 0.45
TestSQLMarshalFunction · 0.45
TestStrStateFunction · 0.45
TestColorStringFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestSQLExtrasFunction · 0.36
TestSQLMarshalFunction · 0.36
TestStrStateFunction · 0.36
TestColorStringFunction · 0.36