Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLicensesToMap ¶
func AddLicensesToMap(licenses []*LicenseConfig, contextPath string)
Types ¶
type LicenseConfig ¶
type LicenseConfig struct { Path string `toml:"path"` Name string `toml:"name"` Identifier string `toml:"identifier"` }
func GetLicenseConfigs ¶
func GetLicenseConfigs(path string) ([]*LicenseConfig, error)
func ImportStaticConfig ¶
func ImportStaticConfig() ([]*LicenseConfig, error)
func (*LicenseConfig) AddToMap ¶
func (license *LicenseConfig) AddToMap(contextPath string)
type MainConfig ¶
Click to show internal directories.
Click to hide internal directories.