No description
  • Go 88.6%
  • Makefile 11.4%
Find a file
2025-03-10 10:05:58 +01:00
.github Bump golang to 1.23 (#60) 2025-03-10 10:05:58 +01:00
hack Update addlicense check (#9) 2023-11-17 14:02:09 +01:00
internal Fix linking submodule of go workspace (#27) 2024-04-24 13:24:59 +02:00
LICENSES Add reuse license handling (#3) 2023-11-17 09:53:22 +01:00
.gitignore Add reuse license handling (#3) 2023-11-17 09:53:22 +01:00
.golangci.yaml Initial commit 2022-04-06 15:38:28 +02:00
CODE_OF_CONDUCT.md Add reuse license handling (#3) 2023-11-17 09:53:22 +01:00
CODEOWNERS GH org migration (#1) 2023-11-02 13:42:12 +01:00
go.mod Bump golang to 1.23 (#60) 2025-03-10 10:05:58 +01:00
go.sum Bump golang to 1.23 (#60) 2025-03-10 10:05:58 +01:00
LICENSE Initial commit 2022-04-06 15:38:28 +02:00
main.go Add reuse license handling (#3) 2023-11-17 09:53:22 +01:00
Makefile Bump golang to 1.23 (#60) 2025-03-10 10:05:58 +01:00
README.md Add reuse badge (#8) 2023-11-17 10:03:28 +01:00
REUSE.toml Bump golang to 1.23 (#60) 2025-03-10 10:05:58 +01:00

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