version

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildVersion is version set on build.
	BuildVersion string
	// DefaultRepo is the default repo for images.
	DefaultRepo = "ghcr.io/eraser-dev"
)

Functions

func GetUserAgent

func GetUserAgent(component string) string

GetUserAgent returns a user agent of the format eraser/<component>/<version> (<goos>/<goarch>) <commit>/<timestamp>.

Types

This section is empty.

Jump to

Keyboard shortcuts

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