vgopath

command module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

vgopath

REUSE status GitHub License Go Report Card PRs Welcome

vgopath is a tool for module-enabled projects to set up a 'virtual' GOPATH for legacy tools to run with (kubernetes/code-generator I'm looking at you...).

Installation

The simplest way to install vgopath is by running

go install github.com/ironcore-dev/vgopath@latest

Usage

vgopath has to be run from the module-enabled project root. It requires a target directory to construct the virtual GOPATH.

Example usage could look like this:

# Create the target directory
mkdir -p my-vgopath

# Do the linking in my-vgopath
vgopath -o my-vgopath

Once done, the structure will look something like

my-vgopath
├── bin -> <GOPATH>/bin
├── pkg -> <GOPATH>/pkg
└── src -> various subdirectories

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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