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