Versions in this module Expand all Collapse all v0 v0.19.4 May 24, 2023 Changes in this version + var ErrInvalidName = util.NewInvalidArgumentErrorf("package name is invalid") + var ErrInvalidVersion = util.NewInvalidArgumentErrorf("package version is invalid") + var ErrMissingPubspecFile = util.NewInvalidArgumentErrorf("Pubspec file is missing") + var ErrPubspecFileTooLarge = util.NewInvalidArgumentErrorf("Pubspec file is too large") + type Metadata struct + Description string + DocumentationURL string + ProjectURL string + Pubspec interface{} + Readme string + RepositoryURL string + type Package struct + Metadata *Metadata + Name string + Version string + func ParsePackage(r io.Reader) (*Package, error) + func ParsePubspecMetadata(r io.Reader) (*Package, error)