Versions in this module Expand all Collapse all v5 v5.3.1 Mar 27, 2026 v5.3.0 Mar 18, 2026 Changes in this version + type ContactV1 struct + Affiliation *string + Email *string + Name string + Phone *string + type ContractorV1 struct + Email *string + Name string + Until string + Website *URL + type DependencyV1 struct + Name string + Optional *bool + Version *string + VersionMax *string + VersionMin *string + type DescV1 struct + APIDocumentation *URL + Awards []string + Documentation *URL + Features *[]string + LocalisedName *string + LongDescription string + Screenshots []string + ShortDescription string + Videos []*URL + type OrganisationV1 struct + Name *string + URI string type ParserConfig + Timeout time.Duration + type PublicCodeV1 struct + ApplicationSuite string + Categories *[]string + DependsOn ... + Description map[string]DescV1 + DevelopmentStatus string + FundedBy *[]OrganisationV1 + IntendedAudience ... + IsBasedOn UrlOrUrlArray + LandingURL *URL + Legal struct{ ... } + Localisation struct{ ... } + Logo *string + Maintenance struct{ ... } + Name string + Organisation *OrganisationV1 + Platforms []string + PubliccodeYamlVersion string + ReleaseDate *string + Roadmap *URL + SoftwareType string + SoftwareVersion string + URL *URL + UsedBy *[]string + func (p PublicCodeV1) ToYAML() ([]byte, error) + func (p PublicCodeV1) Url() *URL + func (p PublicCodeV1) Version() uint v5.2.3 Nov 29, 2025 v5.2.2 Nov 21, 2025 v5.2.1 Oct 21, 2025 v5.2.0 Oct 21, 2025 Changes in this version + type OrganisationV0 struct + Name *string + URI string v5.1.1 Oct 17, 2025 v5.1.0 Oct 16, 2025 v5.0.0 Oct 16, 2025 Changes in this version + var SupportedVersions = []string + type ContactV0 struct + Affiliation *string + Email *string + Name string + Phone *string + type ContractorV0 struct + Email *string + Name string + Until string + Website *URL + type DependencyV0 struct + Name string + Optional *bool + Version *string + VersionMax *string + VersionMin *string + type DescV0 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 ITSectionV0 struct + Conforme ... + CountryExtensionVersion *string + Piattaforme struct{ ... } + Riuso struct{ ... } + type ParseError struct + Reason string + func (e ParseError) Error() string + type Parser struct + func NewDefaultParser() (*Parser, error) + func NewParser(config ParserConfig) (*Parser, error) + func (p *Parser) Parse(uri string) (PublicCode, error) + func (p *Parser) ParseStream(in io.Reader) (PublicCode, error) + type ParserConfig struct + BaseURL string + Branch string + DisableExternalChecks bool + DisableNetwork bool + Domain Domain + type PublicCode interface + ToYAML func() ([]byte, error) + Url func() *URL + Version func() uint + type PublicCodeV0 struct + ApplicationSuite string + Categories *[]string + DependsOn ... + Description map[string]DescV0 + DevelopmentStatus string + FundedBy ... + IT *ITSectionV0 + InputTypes *[]string + IntendedAudience ... + IsBasedOn UrlOrUrlArray + It *ITSectionV0 + LandingURL *URL + Legal struct{ ... } + Localisation struct{ ... } + Logo *string + Maintenance struct{ ... } + MonochromeLogo *string + Name string + Organisation ... + OutputTypes *[]string + Platforms []string + PubliccodeYamlVersion string + ReleaseDate *string + Roadmap *URL + SoftwareType string + SoftwareVersion string + URL *URL + UsedBy *[]string + func (p PublicCodeV0) ToYAML() ([]byte, error) + func (p PublicCodeV0) Url() *URL + func (p PublicCodeV0) Version() uint + type URL url.URL + func (u *URL) MarshalJSON() ([]byte, error) + func (u *URL) MarshalYAML() (interface{}, error) + func (u *URL) UnmarshalYAML(unmarshal func(interface{}) error) error + func (u URL) String() string + 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/v3 github.com/italia/publiccode-parser-go/v4