TypeEnumRule to validate types
| 11 | |
| 12 | // TypeEnumRule to validate types |
| 13 | type TypeEnumRule struct { |
| 14 | Types []string |
| 15 | } |
| 16 | |
| 17 | // Name return name of the rule |
| 18 | func (r *TypeEnumRule) Name() string { return "type-enum" } |
nothing calls this directly
no outgoing calls
no test coverage detected