Documentation ¶
Overview ¶
Package meta app file defines variables.
provides variables to store application info and getters to give read access
Package meta author file defines variables.
provides variables to store author info and getters to give read access
Package meta version file defines variables.
provides variables to store versin info and getters to give read access
Index ¶
- Variables
- func GetAppDescription() string
- func GetAppLicense() string
- func GetAppName() string
- func GetAuthorCompany() string
- func GetAuthorEmail() string
- func GetAuthorName() string
- func GetBuildTime() string
- func GetVersionHash() string
- func GetVersionHashAlg() string
- func GetVersionID() string
- func InitAppCatalog(appCatalogJSON string, catalog *catalogModel.App) *defaultError.Error
- func InitFlags()
- func ProcessFlags() (processed bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //App meta data App = model.AppMeta{ Name: GetAppName(), Description: GetAppDescription(), } //Extended meta data Extended = model.Extended{ License: GetAppLicense(), } )
View Source
var ( //Author meta data Author = model.Author{ Name: GetAuthorName(), Email: GetAuthorEmail(), Company: GetAuthorCompany(), } )
View Source
var ( //Version version data Version = model.Version{ ID: GetVersionID(), HashAlg: GetVersionHashAlg(), Hash: GetVersionHash(), BuildTime: GetBuildTime(), } )
Functions ¶
func GetVersionHashAlg ¶
func GetVersionHashAlg() string
GetVersionHashAlg returns the ersion hash algorhythm key
func InitAppCatalog ¶
func InitAppCatalog(appCatalogJSON string, catalog *catalogModel.App) *defaultError.Error
InitAppCatalog init app catalog
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.