Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorParamsEmpty errors.CodeError = iota + errors.MinPkgVersion ErrorGoVersionInit ErrorGoVersionRuntime ErrorGoVersionConstraint )
View Source
const ( License_MIT license = iota License_GNU_GPL_v3 License_GNU_Affero_GPL_v3 License_GNU_Lesser_GPL_v3 License_Mozilla_PL_v2 License_Apache_v2 License_Unlicense License_Creative_Common_Zero_v1 License_Creative_Common_Attribution_v4_int License_SIL_Open_Font_1_1 )
Variables ¶
This section is empty.
Functions ¶
func IsCodeError ¶
func IsCodeError() bool
Types ¶
type Version ¶
type Version interface {
CheckGo(RequireGoVersion, RequireGoContraint string) Error
GetAppId() string
GetAuthor() string
GetBuild() string
GetDescription() string
GetHeader() string
GetInfo() string
GetPackage() string
GetRootPackagePath() string
GetPrefix() string
GetRelease() string
GetLicenseLegal(addMoreLicence ...license) string
GetLicenseFull(addMoreLicence ...license) string
GetLicenseBoiler(addMoreLicence ...license) string
PrintInfo()
PrintLicense(addlicence ...license)
}
func NewVersion ¶
Click to show internal directories.
Click to hide internal directories.