The highest tagged major version is
v2 .
Discover Packages
github.com/gogf/gf
os
gbuild
package
Version:
v1.11.6
Opens a new window with list of versions in this module.
Published: Mar 12, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package gbuild manages the build-in variables from "gf build".
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.
Get 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.