Versions in this module Expand all Collapse all v0 v0.19.1 Aug 30, 2023 v0.19.0 Aug 30, 2023 Changes in this version + var ErrInvalidProvider = errors.New("invalid provider") + type FetchOpts struct + All bool + PackagePath string + SkipPatchCheck bool + type File struct + Data io.Reader + Hash hash.Hash + Length int64 + Name string + PackagePath string + Version string + type Provider interface + Fetch func(*FetchOpts) (*File, error) + GetID func() string + GetLatestVersion func() (string, string, error) + func New(u, provider string) (Provider, error)