MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / Key

Method Key

projects/Go/proto/test/EnumTyped.go:53–55  ·  view source on GitHub ↗

Get the enum key

()

Source from the content-addressed store, hash-verified

51
52// Get the enum key
53func (e EnumTyped) Key() EnumTypedKey {
54 return EnumTypedKey(e)
55}
56
57// Convert enum to optional
58func (e *EnumTyped) Optional() *EnumTyped {

Callers 10

GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45

Calls 1

EnumTypedKeyTypeAlias · 0.85

Tested by

no test coverage detected