gbuild

package
v2.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 7 Imported by: 21

Documentation

Overview

Package gbuild manages the build-in variables from "gf build".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string, def ...interface{}) *gvar.Var

Get retrieves and returns the build-in binary variable with given name.

func Info

func Info() map[string]string

Info returns the basic built information of the binary as map. Note that it should be used with gf-cli tool "gf build", which automatically injects necessary information into the binary.

func Map

func Map() map[string]interface{}

Map returns the custom build-in variable map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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