Sign inSign up

jenner/goreportcard-cli

By jenner

•Updated over 6 years ago

Build the goreportcard-cli docker image for https://github.com/gojp/goreportcard.git

Image
0

319

jenner/goreportcard-cli repository overview

⁠goreportcard-cli

将https://github.com/gojp/goreportcard⁠ 项目的命令行工具构建成docker镜像

⁠安装基于docker镜像的goreportcard-cli命令

  1. wget https://github.com/luo-zn/goreportcard-cli/releases/download/1.0/goreportcard-cli.sh⁠ -O /usr/local/bin/goreportcard-cli
  2. chmod +x /usr/local/bin/goreportcard-cli
  3. 添加export GOPATH=/go-path-workspace[go-path-workspace替换成正确的go工作空间目录]到/etc/profile.d/go-path.sh
  4. 执行goreportcard-cli,生成当前项目的go检查报告
  5. goreportcard-cli --help 查看更多帮助

Tag summary

Content type

Image

Digest

Size

217.7 MB

Last updated

over 6 years ago

docker pull jenner/goreportcard-cli