https://github.com/pana/grm
General registry manager
https://github.com/pana/grm
Last synced: 7 months ago
JSON representation
General registry manager
- Host: GitHub
- URL: https://github.com/pana/grm
- Owner: Pana
- Created: 2019-05-07T11:20:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T06:45:23.000Z (over 5 years ago)
- Last Synced: 2025-01-28T21:47:19.270Z (9 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
grm
===
General registry manager# Golang
### Registries
Here are several great golang module registry, if you are in china, goproxy.io and goproxy.cn are recommended.
1. [Golang Official Registry](https://proxy.golang.org/)
2. [Jfrog Gocenter](https://gocenter.io)
3. [Qiniu goproxy.cn](https://goproxy.cn/)
4. [goproxy.io](https://goproxy.io/)
5. [Athens](https://gomods.io/) A Go module datastore and proxy### How to use
Go version >= 1.13 (RECOMMENDED)
```bash
go env -w GO111MODULE=on
go env -w GOPROXY="https://goproxy.io,direct"# Set environment variable allow bypassing the proxy for selected modules (optional)
go env -w GOPRIVATE="*.corp.example.com"
```Go version <= 1.12
Bash (Linux or macOS)
```bash
# Enable the go modules feature
export GO111MODULE="on"
# Set the GOPROXY environment variable
export GOPROXY="https://goproxy.io"
```
Or, write it into the .profile or .bash_profile file.PowerShell (Windows)
```bash
# Enable the go modules feature
$env:GO111MODULE="on"
# Set the GOPROXY environment variable
$env:GOPROXY="https://goproxy.io"
```# Node.js
Node.js developer can use [nrm](http://github.com/pana/nrm)