code: func doLint(cmdline []string) {
  	flag.CommandLine.Parse(cmdline)
  
  	packages := []string{"./..."}
  	if len(flag.CommandLine.Args()) > 0 {
  		packages = flag.CommandLine.Args()
  	}
  	// Get metalinter and install all supported linters
  	build.MustRun(goTool("get", "gopkg.in/alecthomas/gometalinter.v2"))
  	build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v2"), "--install")
  
  	// Run fast linters batched together
  	configs := []string{
  		"--vendor",
  		"--tests",
  		"--deadline=2m",
  		"--disable-all",
  		"--enable=goimports",
  		"--enable=varcheck",
  		"--enable=vet",
  		"--enable=gofmt",
  		"--enable=misspell",
  		"--enable=goconst",
  		"--min-occurrences=6", // for goconst
  	}
  	build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v2"), append(configs, packages...)...)
  
  	// Run slow linters one by one
  	for _, linter := range []string{"unconvert", "gosimple"} {
  		configs = []string{"--vendor", "--tests", "--deadline=10m", "--disable-all", "--enable=" + linter}
  		build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v2"), append(configs, packages...)...)
  	}
  }
docs: // runs gometalinter on requested packages