| 20 | } |
| 21 | |
| 22 | type APIVersion struct { |
| 23 | supportedMajor int |
| 24 | supportedMinor int |
| 25 | additionalMajors []int |
| 26 | } |
| 27 | |
| 28 | func (v *APIVersion) WithBackwardCompat(majs ...int) *APIVersion { |
| 29 | v.additionalMajors = append(v.additionalMajors, majs...) |
nothing calls this directly
no outgoing calls
no test coverage detected