Virtualgo (or vg for short) is a tool that provides workspace-based development for Go. The main feature set that makes it better than other solutions. Virtualgo doesn't do dependency resolution or version pinning itself, because this is a hard problem that's already being solved by other tools. Its approach is to build on top of these tools, such as dep, to provide the features features listed above. For people coming from Python, vg is very similar to virtualenv, with dep being respective to pip. The main difference is that vg is much easier to use than virtualenv, because there's almost no mental overhead in using vg. You can pin versions of executable dependencies, such as linting and code generation tools. You can easily use a dependency from your global GOPATH inside your workspace, without running into confusing import errors. It has optional full isolation. If enabled there's no accidental fallbacks to regular GOPATH.

Features

  • Extreme ease of use
  • No interference with other go tools
  • Version pinning for imports
  • Version pinning for executables, such as linters (e.g. errcheck) and codegen tools (e.g. protoc-gen-go)
  • Importing a dependency that's locally checked out outside of the workspace (also called multi project workflow)
  • Optional full isolation for imports, see the section on import modes for details.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow virtualgo

virtualgo Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of virtualgo!

Additional Project Details

Programming Language

Go

Related Categories

Go Software Development Software

Registered

2022-08-23