Hacker News new | past | comments | ask | show | jobs | submit login

> A one-line change to your modfile and the import path is changed.

Another detail: since your import path change also affects internal imports between packages within your module, you also need to fixup a bunch of .go files in your repo (worst case all of them).

I still think it's not a big deal (it's all pretty straightforward non-magic). Just a small nitpick that it's not just one go.mod change.




Yes, any consumer must pick the new import path, although that is true regardless of strategy.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: