goproxy

A global proxy server for Go modules with caching and access control

brewmacoslinux
Try with needOr install directly
Source

About

Global proxy for Go modules

Commands

goproxy

Examples

Start the goproxy server on default port 8081$ goproxy
Start goproxy on a custom port$ goproxy -listen=0.0.0.0:9090
Configure Go to use goproxy as module proxy$ export GO111MODULE=on && export GOPROXY=http://localhost:8081,direct