Discover Packages
github.com/osgochina/donkeygo
os
dbuild
package
Version:
v0.1.9
Opens a new window with list of versions in this module.
Published: Aug 9, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Get(name string , def ...interface{}) interface{}
Get retrieves and returns the build-in binary variable with given name.
GetString retrieves and returns the build-in binary variable of given name as string.
GetVar retrieves and returns the build-in binary variable of given name as gvar.Var.
Info returns the basic built information of the binary as map.
Note that it should be used with gf-cli tool "gf build",
which injects necessary information into the binary.
func Map() map[string ]interface{}
Map returns the custom build-in variable map.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.