version

package
v0.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 21 Imported by: 0

README

This is a fork of https://github.com/golang/dl

Check the Taskfile to get the way to update sources. But do not forget about version__patched.go.

This file adding API to install golang to specific directory.

Documentation

Overview

The version package permits running a specific version of Go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(_ context.Context, dst, version string) error

func Path

func Path(dst, version string) string

func Run

func Run(version string)

Run runs the "go" tool of the provided Go version.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL