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

Struct OmitZeroExtPtr

_generated/omitzero_ext.go:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63type OmitZeroExtPtr struct {
64 a int // custom type
65}
66
67// IsZero will return true if a is nil or not positive
68func (o *OmitZeroExtPtr) IsZero() bool { return o == nil || o.a <= 0 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected