goenv aims to be as simple as possible and follow the already established successful version management model of pyenv and rbenv. This project was cloned from pyenv and modified for Go. goenv does let you change the global Go version on a per-user basis. Provide support for per-project Go versions. Allow you to override the Go version with an environment variable. Search commands from multiple versions of Go at a time. At a high level, goenv intercepts Go commands using shim executables injected into your PATH, determines which Go version has been specified by your application, and passes your commands along to the correct Go installation. When you run all the variety of Go commands using go, your operating system searches through a list of directories to find an executable file with that name. This list of directories lives in an environment variable called PATH, with each directory in the list separated by a colon.

Features

  • Let you change the global Go version on a per-user basis
  • Provide support for per-project Go versions
  • Allow you to override the Go version with an environment variable
  • Search commands from multiple versions of Go at a time
  • This project was cloned from pyenv and modified for Go
  • goenv aims to be as simple as possible

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow goenv

goenv Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of goenv!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Unix Shell

Related Categories

Unix Shell Frameworks

Registered

2023-01-30