version

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CodeGenMajor is the major version of the generated code.
	CodeGenMajor = 0
	// CodeGenMinor is the minor version of the generated code.
	CodeGenMinor = 1
)

Variables

View Source
var CodeGenSemVersion = SemVer{Major: CodeGenMajor, Minor: CodeGenMinor, Patch: codeGenPatch}

CodeGenSemVersion is the version of the generated code.

Functions

func SelfVersion

func SelfVersion() string

SelfVersion returns the version of the running tool binary.

Types

type SemVer

type SemVer struct {
	Major int
	Minor int
	Patch int
}

SemVer represents a semantic version.

func (SemVer) String

func (v SemVer) String() string

String returns the string representation of the semantic version.

Jump to

Keyboard shortcuts

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