Versions in this module Expand all Collapse all v0 v0.2.0 Apr 16, 2026 v0.1.0 Apr 16, 2026 Changes in this version + type Binary struct + Data []byte + Filename string + Platform platforms.Platform + type BuildSource struct + func NewBuildSource(pkg, modDir, ldflags string, stdout, stderr io.Writer) *BuildSource + func (s *BuildSource) Resolve(ctx context.Context, name string, plats []platforms.Platform) ([]Binary, error) + type LocalSource struct + func NewLocalSource(entries []string) (*LocalSource, error) + func (s *LocalSource) Resolve(_ context.Context, name string, plats []platforms.Platform) ([]Binary, error) + type ReleaseSource struct + func NewReleaseSource(repo, version, assets, cacheDir, token string, stdout io.Writer) *ReleaseSource + func (s *ReleaseSource) Resolve(ctx context.Context, name string, plats []platforms.Platform) ([]Binary, error) + type Source interface + Resolve func(ctx context.Context, name string, plats []platforms.Platform) ([]Binary, error)