Versions in this module Expand all Collapse all v0 v0.0.2 Aug 26, 2026 Changes in this version + var IsGlibcEnv = sync.OnceValue(func() bool { ... }) — linux/amd64 + func CacheDirPath() string + func Download(url string) (io.ReadCloser, error) + func IsGlibcEnv() bool — darwin/amd64, js/wasm, windows/amd64 + func OpenFileInArchive(archiveFile *os.File, archiveFileSize int64, archiveFormat ArchiveFormat, ...) (io.ReadCloser, error) + func SelectByLibc(glibc, other string) string + type ArchiveFormat int + const NotAnArchive + const TarArchive + const TarBzip2Archive + const TarGzipArchive + const ZipArchive + type Artifact struct + ArchiveFormat ArchiveFormat + CacheName string + Checksum Checksum + DownloadURL string + InArchiveFilePath string + type Checksum struct + Algorithm crypto.Hash + Digest string + type ReadCloserWrapper struct + Closer io.Closer + func (r *ReadCloserWrapper) Close() error + type Tool struct + Artifact Artifact + Name string + func (t *Tool) DownloadIfNeeded() (string, error) + func (t *Tool) Run() v0.0.1 May 29, 2026 Changes in this version + var IsMuslLibc = sync.OnceValue(func() bool { ... }) — linux/amd64 + func Exec(binPath string) + func Fetch(url string) (*http.Response, error) + func FetchGitHubReleaseAsset(repo, version, asset string) (io.ReadCloser, error) + func GitHubReleaseAssetURL(repo, version, asset string) string + func IsMuslLibc() bool — darwin/amd64, js/wasm, windows/amd64 + func ResolveToolPath(binName string) string + func ToolCacheDir() string