version

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package version provides build information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Information

type Information struct {
	Version      string            `json:"version,omitempty"`
	Revision     string            `json:"revision,omitempty"`
	Branch       string            `json:"branch,omitempty"`
	BuildUser    string            `json:"build_user,omitempty"`
	BuildDate    string            `json:"build_date,omitempty"`
	GoVersion    string            `json:"go_version,omitempty"`
	Dependencies map[string]string `json:"dependencies,omitempty"`
}

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