Home / Golang modules

Golang Mirror (golang mirror, golang proxy, GOPROXY, go mod) in Iran

Golang mirror (golang mirror, golang proxy, GOPROXY, go mod) — Golang mirror for Go module downloads in Iran — local GOPROXY close to your builds and CI.

About Golang

Go and Golang are the same language. Modules usually come via proxy.golang.orggo mod download pulls hundreds of dependencies through GitHub and the official proxy.

International path issues and i/o timeout stall builds. The golang mirror keeps dependencies close to clients in Iran.

Golang mirror in Iran

The golang mirror in Iran at mirror.rasanegaar.com/golang serves GOPROXY so go mod works without proxy.golang.org.

SEO landing and setup live at /golang/.

On Rasanegaar Mirror

StatusAvailable
Size
Last update
URLhttps://mirror.rasanegaar.com/golang/

Manual steps

  1. Set GOPROXY to the Rasanegaar mirror:

    export GOPROXY=https://mirror.rasanegaar.com/golang,direct

  2. Try a test download:

    go mod download

Updating Golang in Iran

Go module downloads in Iran via the local proxy make builds steadier — when proxy.golang.org is flaky.

After switching, do not disable the sumdb unless you have a specific reason.