Documentation
¶
Index ¶
- Constants
- func GetLicensesFiles() []string
- func GetLicensesFilesPrefix() []string
- func LicenseToSha256(value string) string
- func ReadPomComments(pomData string) string
- func RemoveDuplicatedObjectIds(ids []string) []string
- type Set
- func (set Set) Add(value SetInterface)
- func (set Set) AddString(value string)
- func (set Set) AddStringValues(values []string)
- func (set Set) AddValues(values []SetInterface)
- func (set Set) GetValue(key string) string
- func (set Set) Remove(value SetInterface)
- func (set Set) Size() int
- func (set Set) StringValues() []string
- func (set Set) Update(value SetInterface)
- func (set Set) Values() []SetInterface
- type SetId
- type SetInterface
- type SetString
Constants ¶
View Source
const ( // licenses data LicenseTxt = "license.txt" LicenseDot = "license." LicenseMd = "license.md" License = "license" Bsdl = "bsdl" Copying = "copying" COPYINGv3 = "COPYINGv3" CopyingDot = "copying." CopyingDash = "copying-" Legal = "legal" Readme = "readme" Copyright = "copyright" Ftl = "ftl.txt" GPLv2 = "gplv2.TXT" MITtxt = "mit.txt" LisenseRst = "lisense.rst" LisenceHtml = "lisence.html" LicenseHtml = "license.html" Licenses2 = "LICENSE-2.0.txt" LICENSE_UNKNOWN = "Unknown" Licenses = "/licenses/" EMPTY_STRING = "" )
Variables ¶
This section is empty.
Functions ¶
func GetLicensesFiles ¶
func GetLicensesFiles() []string
func GetLicensesFilesPrefix ¶
func GetLicensesFilesPrefix() []string
func LicenseToSha256 ¶
func ReadPomComments ¶
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func NewSetFromStrings ¶
func NewSetWithData ¶
func NewSetWithData(values []SetInterface) *Set
func (Set) Add ¶
func (set Set) Add(value SetInterface)
func (Set) AddStringValues ¶
func (Set) AddValues ¶
func (set Set) AddValues(values []SetInterface)
func (Set) Remove ¶
func (set Set) Remove(value SetInterface)
func (Set) StringValues ¶
func (Set) Update ¶
func (set Set) Update(value SetInterface)
func (Set) Values ¶
func (set Set) Values() []SetInterface
type SetInterface ¶
type SetInterface interface {
ToString() string
}
Click to show internal directories.
Click to hide internal directories.