23 ms·
Still holding out hope for a "go run" flag to easily run module programs with replacements in go.mod go run k8s.io/kubernetes/cmd/kubectl@v1.28.2
by moondev 3y ago
Still holding out hope for a "go run" flag to easily run module programs with replacements in go.mod
go run k8s.io/kubernetes/cmd/kubectl@v1.28.2
- deleted 3y ago[deleted]
- d0gsg0w00f 3y agoYes. Many times I've forgotten to remove my local "replace" in go.mod before git pushing. Would be nice to have a runtime replace for local dev.
- metaltyphoon 3y agoIf you use go.work (workspace) you don’t have to touch your go.mod file. Just don't commit go.work