(majs ...int)
| 26 | } |
| 27 | |
| 28 | func (v *APIVersion) WithBackwardCompat(majs ...int) *APIVersion { |
| 29 | v.additionalMajors = append(v.additionalMajors, majs...) |
| 30 | return v |
| 31 | } |
| 32 | |
| 33 | func (v *APIVersion) String() string { |
| 34 | return fmt.Sprintf("%d.%d", v.supportedMajor, v.supportedMinor) |
no outgoing calls