version

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package version provides the stdout template for the version flag.

Index

Constants

View Source
const (
	TabWidth = 8 // Width of tab characters.
)

Variables

This section is empty.

Functions

func Self

func Self() (string, error)

Self returns the path to the executable (this) program.

func Template

func Template(wr io.Writer) error

Template writes the application version, copyright and build variables.

func Terminal

func Terminal() string

Terminal attempts to determine the host shell environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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