version

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version provides build-time version information for go-mitmproxy. These values are set via ldflags during the build process.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semantic version of the build.
	// Set via ldflags: -X github.com/denisvmedia/go-mitmproxy/version.Version=x.y.z.
	Version = "dev"

	// Commit is the git commit hash of the build.
	// Set via ldflags: -X github.com/denisvmedia/go-mitmproxy/version.Commit=abc123.
	Commit = "unknown"

	// Date is the build date in RFC3339 format.
	// Set via ldflags: -X github.com/denisvmedia/go-mitmproxy/version.Date=2024-01-01T00:00:00Z.
	Date = "unknown"
)

Functions

func String

func String() string

String returns a formatted version string including version, commit, and date.

Types

This section is empty.

Jump to

Keyboard shortcuts

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