Hi,

I have a case where we developing inside a monorepo project where we 
distribute shared libs locally (without publishing) and we're using 
*replace* directive inside *go.mod*. What we fear is someone changes the 
shared libs logic, it might break other applications that use it because we 
can't have any version inside the shared libs module and the applications 
didn't aware of any changes inside the shared libs module. Is there any way 
to add versioning for this shared libs module? Is it work using 
pseudo-version?

For example, we have a module with pseudo-version 
*v0.0.0-00010101000000-55b989e89570*. And then *Application A *requires 
this module. If someone changes the shared libs logic and the 
pseudo-version changed to *v0.0.0-00010101000000-**c00dbbc9dadf. *What will 
happen to *Application A* which uses module with pseudo-version 
*v0.0.0-00010101000000-55b989e89570*? Is it using the code from first 
pseudo-version or is it always using the latest code regardless of the 
pseudo-version?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2b1cbb7b-bcc3-4f5a-bf2a-4e3d59eac680%40googlegroups.com.

Reply via email to