I have a Gogs server setup and running with PostgreSQL. I have also mirrored a public repo from github by using the Gogs web interface.
Now I'm wondering can I make the commandline go get
use the Gogs server as a proxy for getting packages? ie. I want the command like https_proxy=http://gogs_server:3000 go get -u github.com/user/repo
to download the mirror repo from the local Gogs server instead of actually going out to github.com to download it.