Threads for gandro

  1. 39

    Instead of disabling the go proxy and sumdb for all modules (even the ones not hosted on sourcehut), I recommend the following workaround instead:

    $ export GOPRIVATE=git.sr.ht
    $ go get # will use goproxy, except for modules hosted at git.sr.ht
    

    Documentation: https://goproxy.io/docs/GOPRIVATE-env.html

    1. 6

      I don’t understand how it is different from the workaround they recommend?

      1. 20

        the post has been updated by its author: https://news.ycombinator.com/item?id=34311022

        1. 2

          Ah, that explains it, thanks! :)