Go support



Hi Team,

Is there a plan to support go hosted and proxy with IQ integration ? If not, do you have any suggestions/alternatives we may use so that when we go “go get” we dont go to github,com and instead visit nexus url… if we use raw hosted repository and host these packages, will the “go get” work. something like “go get https://nexus/raw-repo/go/gocov” ?

Thank you for your time.


This is currently a bit hard to achieve with the way Golang works, specifically in the go get tool chain. Tools like dep or vgo will likely solve this, but the short of it is, most Golang dependencies are obtained via getting git repositories, and that is a deviation from most formats, which obtain dependencies by either obtaining a versioned jar, zip, tgz, etc… Using raw, I don’t know how you’d do this, in theory it might be possible if all traffic is happening via https and not ssh, and I would imagine setting a proxy value for go get to use.

I’ve been working with some of the vgo prototype stuff, and created a really small POC here: GitHub - sonatype-nexus-community/nexus-repository-vgo: Experimental repo for a vgo proxy and maybe more but it’s far from functional. As Golang begins to migrate their community towards allowing versioned dependencies via a package and not a git repository, I’ll make more progress on that repo, but it’s not quite there yet.


Thank you for your inputs…keep us updated as you make progress…