Whilst writing your own GO libraries, we GoPhers have a sound understanding of the packages and GO modules. but somehow when making our own libraries we tend to miss out on a small detail that can limit your versioning on git. I have put this up just so that you can benefit from my experience / exploration of solutions on the internet.
Lets see the problem first hand and then I bring out the solution/tweak.
We are writing this small uni-file library (for brevity sake Im assuming we have this small library)
go mod init github.com/kneerunjun/mylog