Hi there, I would like to patch a package from the standard library in a large Go project. To be specific, I'd like to replace archive/tar in https://github.com/containers/podman.
I can kludge this by creating my own version of the tar package, and patching up the imports across the vendor/ directory, but those changes are overwritten as soon as I run 'go mod update'. I guess I could also fork all relevant dependencies, apply the import change across the forks, and update go.mod in all dependencies, and then use a 'replace' directive in the main go.mod to use my forks. I was wondering if there is a less laborious way to get this done. -- 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 visit https://groups.google.com/d/msgid/golang-nuts/95dd35a6-a4be-407e-a5b2-129a552b1b57n%40googlegroups.com.