MCPcopy
hub / github.com/tinylib/msgp / OmitZeroExt

Struct OmitZeroExt

_generated/omitzero_ext.go:10–12  ·  view source on GitHub ↗

this has "external" types that will show up as generic IDENT during code generation

Source from the content-addressed store, hash-verified

8// as generic IDENT during code generation
9
10type OmitZeroExt struct {
11 a int // custom type
12}
13
14// IsZero will return true if a is not positive
15func (o OmitZeroExt) IsZero() bool { return o.a <= 0 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected