Versions in this module Expand all Collapse all v2 v2.0.1 Apr 28, 2022 v2.0.0 Mar 12, 2022 Changes in this version + const Version + var ExtensionITSupportedVersions = []string + var ExtensionITVersion = "0.2" + var SupportedVersions = []string + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func MustAsset(name string) []byte + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type Amministrazione struct + Acronimo string + CF string + CFValidato string + Cap string + CodAmm string + CognResp string + Comune string + DesAmm string + Indirizzo string + LivAccessibili string + Mail1 string + Mail2 string + Mail3 string + Mail4 string + Mail5 string + NomeResp string + Provincia string + Regione string + SitoIstituzionale string + TipoMail1 string + TipoMail2 string + TipoMail3 string + TipoMail4 string + TipoMail5 string + TipologiaAmm string + TipologiaIstat string + TitoloResp string + URLFacebook string + URLGoogleplus string + URLTwitter string + URLYoutube string + type Contact struct + Affiliation *string + Email *string + Name string + Phone *string + type Contractor struct + Email *string + Name string + Until string + Website *URL + type Dependency struct + Name string + Optional *bool + Version *string + VersionMax *string + VersionMin *string + type Desc struct + APIDocumentation *URL + Awards []string + Documentation *URL + Features *[]string + GenericName string + LocalisedName *string + LongDescription string + Screenshots []string + ShortDescription string + Videos []*URL + type Domain struct + BasicAuth []string + Host string + UseTokenFor []string + type ExtensionIT struct + Conforme struct{ ... } + CountryExtensionVersion string + Piattaforme struct{ ... } + Riuso struct{ ... } + type ParseError struct + Reason string + func (e ParseError) Error() string + type Parser struct + Branch string + DisableNetwork bool + Domain Domain + PublicCode PublicCode + func NewParser(file string) (*Parser, error) + func NewParserWithPath(file string, path string) (*Parser, error) + func (p *Parser) Parse() error + func (p *Parser) ParseBytes(in []byte) error + func (p *Parser) ParseInDomain(in []byte, host string, utf []string, ba []string) error + func (p *Parser) ToYAML() ([]byte, error) + type PublicCode struct + ApplicationSuite string + Categories []string + DependsOn ... + Description map[string]Desc + DevelopmentStatus string + InputTypes []string + IntendedAudience ... + IsBasedOn UrlOrUrlArray + It ExtensionIT + LandingURL *URL + Legal struct{ ... } + Localisation struct{ ... } + Logo string + Maintenance struct{ ... } + MonochromeLogo string + Name string + OutputTypes []string + Platforms []string + PubliccodeYamlVersion string + ReleaseDate string + Roadmap *URL + SoftwareType string + SoftwareVersion string + URL *URL + UsedBy *[]string + type URL url.URL + func (u *URL) MarshalYAML() (interface{}, error) + func (u *URL) String() string + func (u *URL) UnmarshalYAML(unmarshal func(interface{}) error) error + type UrlOrUrlArray []*URL + func (a *UrlOrUrlArray) UnmarshalYAML(unmarshal func(interface{}) error) error + type ValidationError struct + Column int + Description string + Key string + Line int + func (e ValidationError) Error() string + type ValidationErrors []ValidationError + func (ve ValidationErrors) Error() string Other modules containing this package github.com/italia/publiccode-parser-go github.com/italia/publiccode-parser-go/v3 github.com/italia/publiccode-parser-go/v4