jsonrpc2
jsonrpc2 copied to clipboard
Remove local `replace` directive from `go.mod` ?
trafficstars
In the go.mod file you have the line:
replace go.lsp.dev/pkg => ../pkg
It can be dangerous for someone using your code next to a pkg directory that holds something else.
I think the current best practice is to use go.work ? As in something like go work init && go work use . "../pkg", and then add go.work to your .gitignore file ?
cheers