| 9 | var ErrFooBar = errors.New("must be foobar") |
| 10 | |
| 11 | type MyCustomClaims struct { |
| 12 | Foo string `json:"foo"` |
| 13 | RegisteredClaims |
| 14 | } |
| 15 | |
| 16 | func (m MyCustomClaims) Validate() error { |
| 17 | if m.Foo != "bar" { |
nothing calls this directly
no outgoing calls
no test coverage detected