1 Star 0 Fork 73

神化军/SOAR

forked from Gitee 极速下载/SOAR 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
retool-install.sh 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
Leon Zhang 提交于 2018-10-23 12:50 . fix #18, #20
#!/usr/bin/env bash
set -euo pipefail
# This script generates tools.json
# It helps record what releases/branches are being used
which retool >/dev/null || go get -u github.com/twitchtv/retool
# This tool can run other checks in a standardized way
retool add gopkg.in/alecthomas/gometalinter.v2 v2.0.11
# check spelling
# misspell works with gometalinter
retool add github.com/client9/misspell/cmd/misspell v0.3.4
# goword adds additional capability to check comments
retool add github.com/chzchzchz/goword a9744cb52b033fe5c269df48eeef2c954526cd79
# checks correctness
retool add github.com/gordonklaus/ineffassign 7bae11eba15a3285c75e388f77eb6357a2d73ee2
retool add honnef.co/go/tools/cmd/megacheck master
retool add github.com/dnephin/govet 4a96d43e39d340b63daa8bc5576985aa599885f6
# slow checks
retool add github.com/kisielk/errcheck v1.1.0
retool add github.com/securego/gosec/cmd/gosec 1.0.0
# linter
retool add github.com/mgechev/revive 7773f47324c2bf1c8f7a5500aff2b6c01d3ed73b
retool add github.com/golangci/golangci-lint/cmd/golangci-lint v1.10
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huajun102/SOAR.git
git@gitee.com:huajun102/SOAR.git
huajun102
SOAR
SOAR
master

搜索帮助