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

version

package
v0.99.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version resolves the runtime version of the go-git-platform module. It is the single source of truth behind provider.Version() and the default User-Agent injected by the transport layer.

When the module is compiled as a dependency, debug.ReadBuildInfo reports the resolved (pseudo-)version of this module among the main module's dependencies — including replaces. When the module itself is the main module (go test, local go run/build), Go reports "(devel)" or an empty version and the fallback "dev" is returned.

Index

Constants

View Source
const ModulePath = "github.com/yi-nology/go-git-platform"

ModulePath is this module's Go module path.

Variables

This section is empty.

Functions

func String

func String() string

String returns the module version, or "dev" when unavailable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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