go2github

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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

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

使用方式

方式一:直接下载编译好的二进制文件

第一步:直接下载Release中对应操作系统的go2github二进制文件。

第二步:以管理员身份执行go2github二进制文件即可。

方式二:自己下载并编译源码即时运行

第一步:git clone https://github.com/codeboyzhou/go2github.git

第二步:cd go2github && go build go2github.go

第三步:以管理员身份执行编译好的go2github二进制文件。

下一步开发计划

  • 不再依赖本地domains.txt文件
  • 日志采用彩色文本输出到命令行
  • 日志输出到某个文件中便于查看
  • 程序有新版本时通知到旧版本客户端
  • 按一定时间间隔定时自动刷新对应的Host
  • 在已有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