gosearchGolang 包快速安裝工具
gosearch 是一款基于godoc.org提供的api開發(fā)的快速搜索/安裝Golang包的工具
安裝方法
go get github.com/clearcodecn/gosearch
使用方式
gosearch [包名稱...]
如:
gosearch gin logrus websocket
特性
* 支持本地緩存,建立了關鍵詞與搜索結果的索引,下次搜索直接從緩存讀取,如果需要從服務器獲取可以加 --no-cache 參數(shù)
* 支持多個包的搜索,順序下載
* 支持緩存清除.
選項:
? $ gosearch
Usage:
gosearch [flags]
gosearch [command]
Examples:
gosearch cobra
Available Commands:
clean clean package caches
help Help about any command
version get gosearch's version
Flags:
--goflag string setting go get flags,default is empty
-h, --help help for gosearch
--no-cache search from server directly
Use "gosearch [command] --help" for more information about a command.評論
圖片
表情
