I fucked around and completely rewrote my ancient #Telegraph #Go #package: https://pkg.go.dev/source.toby3d.me/toby3d/telegraph/v2
I fucked around and completely rewrote my ancient #Telegraph #Go #package: https://pkg.go.dev/source.toby3d.me/toby3d/telegraph/v2 2 comments
@toby3d |
Expectation:
1. You rewrite all the code
2. Commit, as usual
3. Put v2.0.0 tag on commit, as usual
4. The compiler will refuse major dependency updates requiring manual replacement of imports, as a consequence nothing breaks, I don't have to take care of old code, everyone is happy
Reality:
1. Yeah just make a v2 directory and put everything in it, lol: https://go.dev/blog/v2-go-modules
WHY
#golang #go #module #programming
Expectation:
1. You rewrite all the code
2. Commit, as usual
3. Put v2.0.0 tag on commit, as usual
4. The compiler will refuse major dependency updates requiring manual replacement of imports, as a consequence nothing breaks, I don't have to take care of old code, everyone is happy
Reality:
1. Yeah just make a v2 directory and put everything in it, lol: https://go.dev/blog/v2-go-modules