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

unfortunately replace is not supported well with modules. and they are hell bent on not supporting it well.



I've been doing forks of modules and using replace to use them in my code base extensively. I had 0 problems, it works marvelously.

If you're doing some kind of global find/replace on fork, then something's definitely not right.


Yeah it works fine. It also allows local co-development of the module and its user without waiting for new versions to be noticed


yes that is one approach. it shouldn't be necessary.



yes. now try to go install your application with the replace directive. it will silently replace the code with the original upstream version.




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

Search: