version

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package version provides build information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteInformation added in v0.4.8

func WriteInformation(w io.Writer, info Information, showFull bool)

WriteInformation writes the formatted information.

Types

type Information

type Information struct {
	Version      string
	Revision     string
	Branch       string
	BuildUser    string
	BuildDate    string
	GoVersion    string
	GoOS         string
	GoArch       string
	Dependencies []*debug.Module
}

Information holds app version info.

func Info

func Info() Information

Info returns app version info.

Jump to

Keyboard shortcuts

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