使用方式:

    1. $ gf get -h
    2. USAGE
    3. gf get PACKAGE
    4. ARGUMENT
    5. PACKAGE remote golang package path, eg: github.com/gogf/gf
    6. EXAMPLES
    7. gf get github.com/gogf/gf
    8. gf get github.com/gogf/gf@latest
    9. gf get github.com/gogf/gf@master
    10. gf get golang.org/x/sys

    gf get命令和go get命令类似,内部自动提供了代理设置功能,并智能识别并设置最快的下载代理地址。

    使用示例:

    1. $ gf get github.com/gogf/gf
    2. go: github.com/gogf/gf master => v1.15.0
    3. go: downloading github.com/gogf/gf v1.15.0