builder

package
v0.21.18 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProgramName     string
	ProgramVersion  string
	ProgramBranch   string
	ProgramRevision string
	CompilerVersion string
	BuildTime       string
	Author          string
)

编译信息

Functions

func BuildInfo added in v0.21.15

func BuildInfo() string

BuildInfo returns goVersion, Author and buildTime information.

func Show

func Show(opts ...Option)

Show 显示项目信息

func Version added in v0.21.15

func Version() string

Version 版本信息

Types

type Option added in v0.21.15

type Option func(*Options)

func Color added in v0.21.15

func Color(c string) Option

func OnColor added in v0.21.15

func OnColor() Option

func OnShow added in v0.21.15

func OnShow() Option

type Options added in v0.21.15

type Options struct {
	Color   string
	OnShow  bool
	OnColor bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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