govs

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 10 Imported by: 0

README

Introduction

This is a simple go version switcher.

Installation

Just run: go install github.com/das6ng/govs@latest

Usage

  1. First, you should specify your GOROOT's parent directory in a environment variable GO_ROOT_PARENT_DIR

for example, export GO_ROOT_PARENT_DIR="$HOME/.local/"

  1. And then, prepare a your go sdk in GO_ROOT_PARENT_DIR MANUALLY.

your GO_ROOT_PARENT_DIR directory should looks like this:

GO_ROOT_PARENT_DIR
|
|-go/            --> your GOROOT should points to this dir
|-go1.18.10/     --> available go sdks
|-go1.19/
|-go1.20.3/
`

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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