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

Canonical: https://mirror.rasanegaar.com/guides/en/golang.html
Language: en

Golang mirror in Iran — GOPROXY for go mod, go build and CI from mirror.rasanegaar.com/golang/

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

**Go** and **Golang** are the same language. Modules usually come via `proxy.golang.org` — `go 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.

## 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/`.

Browse URL: https://mirror.rasanegaar.com/golang/

## Configuration

1. Set GOPROXY to the Rasanegaar mirror:
   ```
   export GOPROXY=https://mirror.rasanegaar.com/golang,direct
   ```
2. Try a test download:
   ```
   go mod download
   ```

## Updates

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.

## Related

Registry landing: https://mirror.rasanegaar.com/repos/golang/en/
Guide HTML: https://mirror.rasanegaar.com/guides/en/golang.html
