In the Kubernetes ecosystem, I frequently run into a problem where I want to use some custom resource but its API package is in the same module as its controller (and loads of other crap) that have a massive dependency chain (often broken and "fixed" with replace directives). In several instances I've sent PRs to remove dependencies on k8s.io/kubernetes from the modules, but this isn't scalable.
Do any tools exist that will extract a handful of low-dependency packages into a new module? It seems like something that must already exist and I'd rather not write it if I don't have to. -- 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/6df4d297-f3bc-49a9-8357-4301c7f411ben%40googlegroups.com.