Versions in this module Expand all Collapse all v4 v4.0.0 Jun 4, 2024 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 struct{ ... } + 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 + 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 + InputTypes []string + IntendedAudience ... + IsBasedOn UrlOrUrlArray + It ITSectionV0 + 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 + func (p PublicCodeV0) ToYAML() ([]byte, error) + func (p PublicCodeV0) Url() *URL + func (p PublicCodeV0) Version() uint + type URL url.URL + 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