Hacker News new | ask | show | jobs
by d0gsg0w00f 862 days ago
Yes. 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.
1 comments

If you use go.work (workspace) you don’t have to touch your go.mod file. Just don't commit go.work