Are the builds and deployment controlled? The command “go list” can be used to simplify parsing the imports in each package, so a script could check that every import is either an allowed standard library package or one matching your internal URL.
Matt On Wednesday, February 21, 2018 at 11:37:35 AM UTC-6, Brendan O'Dwyer wrote: > > My company wants to start using go more, and traditionally when we use > java and python, when we package them for the developer laptops we override > settings and configs for the installs to point to our internal Artifactory > so that we don't have developers using packages that haven't been ok'd for > use. I was wondering if there was anyway to do this or configure go to > limit what its allowed to import from the open internet with the `go get` > command? > -- 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. For more options, visit https://groups.google.com/d/optout.