11 ms·
How do you reference local go modules that are under development? The equivalent in node is `npm link`.
by mmgutz 8y ago
How do you reference local go modules that are under development? The equivalent in node is `npm link`.
- _mway 8y agowith a `replace` entry. e.g. replace ( github.com/repo/module/path vX.X.X => /path/to/github.com/repo/module/path )
- chrisbroadfoot 8y agohttps://github.com/rogpeppe/gohack https://github.com/rogpeppe/gohack is great for this.