GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - flexconstructor/gotools: Test and lint tools for go

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
hooks
hooks
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
goss.yml
goss.yml
 
 
post_push.tmpl.php
post_push.tmpl.php
 
 

Repository files navigation

Go tools

GitHub release Build Status Docker Pulls

Docker image, which is a "Swiss knife" for a go engineer.

What's inside:

  • Dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile.
  • Gometalinter is concurrently run Go lint tools and normalise their output.
  • Goconvey a yummy Go testing tool for gophers. Works with go test. Use it in the terminal or browser according to your viewing pleasure.
  • Overalls runs test coverage tests on all packages in each directory and finally concatenates into a single file for tools like goveralls and codecov.io.
  • Goimports Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.

How to use this image:

Init go project with go dep:

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name  flexconstructor/gotools:latest dep init

Manage project dependencies:

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest dep ensure -v

Lint go code:

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest gometalinter ./...

Unit test with calculate coverage:

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest overalls [flags]

and

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest go tool cover -func=overalls.coverprofile

More info.

Run GoConvey UI

docker run -v $(PWD):/go/src/project_name -w /go/src/project_name flexconstructor/gotools:latest goconvey -host 0.0.0.0 -port 8080 \

Image versions

X

Latest version of major X Go branch.

X.Y

Latest version of minor X.Y Go branch.

X.Y.Z

Latest build of concrete X.Y.Z version of Go.

X.Y.Z-rN

Concrete N build of concrete X.Y.Z version of Go.

Issues

I can't notice comments in the DockerHub so don't use them for reporting issue or asking question.

If you have any problems with or questions about this image, please contact me through a GitHub issue.

About

Test and lint tools for go

Topics

cidockerdocker-imagegogoconveygodepgoimportsgolanggometalintergotools

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.