meta

package
v0.0.0-...-ddcb0c8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

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

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 GetAppDescription

func GetAppDescription() string

GetAppDescription returns app name

func GetAppLicense

func GetAppLicense() string

GetAppLicense return license string

func GetAppName

func GetAppName() string

GetAppName returns app name

func GetAuthorCompany

func GetAuthorCompany() string

GetAuthorCompany returns author company

func GetAuthorEmail

func GetAuthorEmail() string

GetAuthorEmail returns author email

func GetAuthorName

func GetAuthorName() string

GetAuthorName returns author name

func GetBuildTime

func GetBuildTime() string

GetBuildTime returns the build time

func GetVersionHash

func GetVersionHash() string

GetVersionHash returns the version hash

func GetVersionHashAlg

func GetVersionHashAlg() string

GetVersionHashAlg returns the ersion hash algorhythm key

func GetVersionID

func GetVersionID() string

GetVersionID returns the version string

func InitAppCatalog

func InitAppCatalog(appCatalogJSON string, catalog *catalogModel.App) *defaultError.Error

InitAppCatalog init app catalog

func InitFlags

func InitFlags()

InitFlags initialize flags

func ProcessFlags

func ProcessFlags() (processed bool)

ProcessFlags process flags

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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