Versions in this module Expand all Collapse all v3 v3.1.3 Jun 3, 2024 v3.1.2 Feb 19, 2024 v3.1.1 Feb 8, 2024 v3.1.0 Dec 1, 2023 v3.0.5 Nov 11, 2023 v3.0.4 Aug 6, 2022 v3.0.3 Jun 22, 2022 v3.0.2 May 19, 2022 v3.0.1 May 12, 2022 v3.0.0 May 10, 2022 Changes in this version + const Version + var ExtensionITSupportedVersions = []string + var ExtensionITVersion = "0.2" + var SupportedVersions = []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 + func (e ValidationError) MarshalJSON() ([]byte, error) + type ValidationResults []error + func (vr ValidationResults) Error() string + type ValidationWarning ValidationError + func (e ValidationWarning) Error() string + func (e ValidationWarning) MarshalJSON() ([]byte, error) Other modules containing this package github.com/italia/publiccode-parser-go github.com/italia/publiccode-parser-go/v2 github.com/italia/publiccode-parser-go/v4