Help us shape the future of Go! Take the 2026 Go Developer Survey

types

package
v2.950.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MethodologyPaths = map[string]string{
	"cli":        "/docs/cli-generation/create-cli",
	"typescript": "/docs/sdks/languages/typescript/methodology-ts",
	"go":         "/docs/sdks/languages/golang/methodology-go",
	"java":       "/docs/sdks/languages/java/methodology-java",
	"python":     "/docs/sdks/languages/python/methodology-python",
	"csharp":     "/docs/sdks/languages/csharp/methodology-csharp",
	"terraform":  "/docs/terraform/create-terraform",
	"php":        "/docs/sdks/languages/php/methodology-php",
	"ruby":       "/docs/sdks/languages/ruby/methodology-ruby",
}
View Source
var SupportLevels = map[string]SupportLevel{
	"cli":            SupportLevelTwo,
	"csharp":         SupportLevelGA,
	"go":             SupportLevelGA,
	"java":           SupportLevelGA,
	"php":            SupportLevelOne,
	"postman":        SupportLevelOne,
	"python":         SupportLevelGA,
	"ruby":           SupportLevelOne,
	"terraform":      SupportLevelTwo,
	"typescript":     SupportLevelGA,
	"unity":          SupportLevelOne,
	"mcp-typescript": SupportLevelTwo,
}
View Source
var TargetMaturity = map[string]Maturity{
	"cli":            MaturityBeta,
	"csharp":         MaturityGA,
	"go":             MaturityGA,
	"java":           MaturityGA,
	"mcp-typescript": MaturityBeta,
	"php":            MaturityGA,
	"postman":        MaturityAlpha,
	"python":         MaturityGA,
	"ruby":           MaturityGA,
	"terraform":      MaturityGA,
	"typescript":     MaturityGA,
	"unity":          MaturityBeta,
}

TODO: this will eventually be replaced by a report from each target, but hard coded for now

Functions

This section is empty.

Types

type Maturity

type Maturity string
const (
	MaturityGA    Maturity = "GA"
	MaturityBeta  Maturity = "Beta"
	MaturityAlpha Maturity = "Alpha"
)

type SupportLevel

type SupportLevel string
const (
	SupportLevelGA  SupportLevel = "GA"
	SupportLevelTwo SupportLevel = "Level 2"
	SupportLevelOne SupportLevel = "Level 1"
)

type Target

type Target struct {
	// Target is the name of the target language ie "go", "python", "typescript"
	Target string
	// Template is the name of the template folder to use for the target ie "go", "typescriptv2", "javav2"
	Template string
	Maturity Maturity
}

func NewTargetFromTemplate

func NewTargetFromTemplate(template string) Target

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL