go2github

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

GitHub go.mod Go version GitHub release (latest by date) PowerShell Gallery GitHub all releases

go2github - Help you replace GitHub Host automatically.

🔨自动解析并替换GitHub相关的Host到系统hosts文件,告别每次手动修改替换🥳

Usage on Linux/macOS

git clone https://github.com/codeboyzhou/go2github.git

cd go2github && sudo go run go2github.go

Usage on Windows

git clone https://github.com/codeboyzhou/go2github.git

cd go2github && go build go2github.go

以管理员身份执行go2github.exe

# Or

直接下载Release中已经编译好的go2github.exe和域名列表文件domains.txt

保证这两个文件在同一目录下,并以管理员身份执行go2github.exe即可。

Tips

domains.txt文件中已经默认提供了常用的GitHub相关域名。

如果你希望解析更多域名,修改这个文件追加你想解析的域名即可,程序会自动去读取它们。

Roadmap

🤔如何在已有IP地址中找出访问时延最小的那个?

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL