MCPcopy Index your code
hub / github.com/coder/coder / APIVersion

Struct APIVersion

apiversion/apiversion.go:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type APIVersion struct {
23 supportedMajor int
24 supportedMinor int
25 additionalMajors []int
26}
27
28func (v *APIVersion) WithBackwardCompat(majs ...int) *APIVersion {
29 v.additionalMajors = append(v.additionalMajors, majs...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected