Skip to content

Instantly share code, notes, and snippets.

@fsouza
Created August 23, 2019 16:48
Show Gist options
  • Save fsouza/921905a8cc81e5d104011b1f96d9e6e8 to your computer and use it in GitHub Desktop.
Save fsouza/921905a8cc81e5d104011b1f96d9e6e8 to your computer and use it in GitHub Desktop.
% docker run -e GO111MODULE=on -it golang:1.12 go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go: finding github.com/golangci/golangci-lint/cmd/golangci-lint latest
go: finding github.com/golangci/golangci-lint/cmd latest
go: finding github.com/golangci/golangci-lint v1.17.1
go: downloading github.com/golangci/golangci-lint v1.17.1
go: extracting github.com/golangci/golangci-lint v1.17.1
go: finding github.com/spf13/afero v1.1.0
go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
go: finding github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4
go: finding github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
go: finding github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2
go: finding github.com/timakin/bodyclose v0.0.0-20190407043127-4a873e97b2bb
go: finding github.com/valyala/quicktemplate v1.1.1
go: finding github.com/pelletier/go-toml v1.1.0
go: finding golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a
go: finding golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd
go: finding github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6
go: finding github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6
go: finding github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7
go: finding github.com/go-lintpack/lintpack v0.5.2
go: finding github.com/golangci/lint-1 v0.0.0-20180610141402-ee948d087217
go: finding github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/magiconair/properties v1.7.6
go: finding github.com/stretchr/testify v1.2.2
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
go: finding github.com/spf13/viper v1.0.2
go: finding github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
go: finding github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/inconshreveable/mousetrap v1.0.0
go: finding golang.org/x/tools v0.0.0-20180221164845-07fd8470d635
go: finding github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: finding github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec
go: finding github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8
go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663
go: finding github.com/mitchellh/go-homedir v1.0.0
go: finding github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086
go: finding github.com/go-critic/go-critic v0.0.0-20181204210945-1df300866540
go: finding github.com/fatih/color v1.6.0
go: finding github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30
go: finding github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
go: finding github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/golang/protobuf v1.2.0
go: finding mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: finding golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5
go: finding github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
go: finding golang.org/x/net v0.0.0-20190313220215-9f648a60d977
go: finding mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
go: finding github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e
go: finding mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding github.com/golang/mock v1.0.0
go: finding github.com/klauspost/cpuid v1.2.0
go: finding github.com/go-toolsmith/astcast v1.0.0
go: finding golang.org/x/text v0.0.0-20170915090833-1cbadb444a80
go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313
go: finding github.com/kisielk/gotool v0.0.0-20161130080628-0de1eaf82fa3
go: finding golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89
go: finding github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c
go: finding golang.org/x/tools v0.0.0-20181117154741-2ddaf7f79a09
go: finding github.com/go-toolsmith/strparse v1.0.0
go: finding github.com/gobwas/glob v0.2.3
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196
go: finding github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c
go: finding github.com/go-toolsmith/typep v1.0.0
go: finding github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
go: finding github.com/go-ole/go-ole v1.2.1
go: finding github.com/spf13/cast v1.2.0
go: finding github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
go: finding golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a
go: finding github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
go: finding github.com/onsi/gomega v1.4.2
go: finding golang.org/x/tools v0.0.0-20190121143147-24cd39ecf745
go: finding github.com/kr/pretty v0.1.0
go: finding github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding github.com/valyala/fasthttp v1.2.0
go: finding github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
go: finding golang.org/x/tools v0.0.0-20170915040203-e531a2a1c15f
go: finding golang.org/x/sys v0.0.0-20171026204733-164713f0dfce
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/klauspost/compress v1.4.1
go: finding github.com/golangci/ineffassign v0.0.0-20180808204949-42439a7714cc
go: finding github.com/kisielk/gotool v1.0.0
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/net v0.0.0-20170915142106-8351a756f30f
go: finding golang.org/x/sync v0.0.0-20190423024810-112230192c58
go: finding github.com/go-toolsmith/astinfo v0.0.0-20180906194353-9809ff7efb21
go: finding github.com/sourcegraph/go-diff v0.5.1
go: finding github.com/mattn/goveralls v0.0.2
go: finding github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40
go: finding golang.org/x/text v0.3.0
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e
go: finding github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20160627004424-a22cb81b2ecd
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/go-toolsmith/astequal v1.0.0
go: finding github.com/spf13/cobra v0.0.2
go: finding github.com/BurntSushi/toml v0.3.1
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
go: finding github.com/go-toolsmith/astcopy v1.0.0
go: finding github.com/kr/text v0.1.0
go: finding github.com/go-toolsmith/astp v1.0.0
go: finding github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c
go: finding github.com/gogo/protobuf v1.1.1
go: finding github.com/rogpeppe/go-internal v1.1.0
go: finding github.com/davecgh/go-spew v1.1.1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/go-toolsmith/pkgload v1.0.0
go: finding golang.org/x/tools v0.0.0-20190311212946-11955173bddd
go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041
go: finding gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7
go: finding github.com/kr/pty v1.1.1
go: finding github.com/klauspost/compress v1.4.0
go: finding gopkg.in/errgo.v2 v2.1.0
go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: finding github.com/go-toolsmith/astfmt v1.0.0
go: finding github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735
go: finding github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a
go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: finding github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/spf13/cobra v0.0.2
go: downloading github.com/spf13/viper v1.0.2
go: downloading github.com/spf13/pflag v1.0.1
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd
go: extracting github.com/sirupsen/logrus v1.0.5
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: extracting github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting github.com/spf13/viper v1.0.2
go: extracting github.com/spf13/cobra v0.0.2
go: extracting github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196
go: downloading github.com/mitchellh/go-homedir v1.0.0
go: extracting github.com/fatih/color v1.6.0
go: downloading golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a
go: extracting github.com/mitchellh/go-homedir v1.0.0
go: downloading github.com/pelletier/go-toml v1.1.0
go: extracting github.com/pelletier/go-toml v1.1.0
go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
go: extracting github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
go: extracting golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a
go: extracting golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd
go: downloading github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2
go: downloading github.com/pkg/errors v0.8.0
go: downloading github.com/golangci/lint-1 v0.0.0-20180610141402-ee948d087217
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
go: downloading github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
go: downloading github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
go: extracting github.com/pkg/errors v0.8.0
go: downloading github.com/sourcegraph/go-diff v0.5.1
go: downloading github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
go: extracting github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
go: extracting github.com/mattn/go-isatty v0.0.3
go: downloading mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
go: extracting mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
go: downloading github.com/timakin/bodyclose v0.0.0-20190407043127-4a873e97b2bb
go: extracting github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2
go: downloading github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547
go: extracting github.com/timakin/bodyclose v0.0.0-20190407043127-4a873e97b2bb
go: downloading github.com/magiconair/properties v1.7.6
go: extracting github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
go: downloading github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
go: extracting github.com/golangci/lint-1 v0.0.0-20180610141402-ee948d087217
go: extracting mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
go: extracting github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
go: downloading github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
go: extracting github.com/sourcegraph/go-diff v0.5.1
go: extracting github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/spf13/cast v1.2.0
go: downloading github.com/go-lintpack/lintpack v0.5.2
go: downloading github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: extracting github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
go: extracting github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
go: downloading github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98
go: extracting github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547
go: extracting github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
go: downloading github.com/golangci/ineffassign v0.0.0-20180808204949-42439a7714cc
go: downloading github.com/gogo/protobuf v1.1.1
go: extracting github.com/magiconair/properties v1.7.6
go: extracting github.com/spf13/cast v1.2.0
go: downloading github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec
go: extracting github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: extracting github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98
go: extracting github.com/go-lintpack/lintpack v0.5.2
go: downloading github.com/gobwas/glob v0.2.3
go: downloading github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
go: downloading github.com/BurntSushi/toml v0.3.1
go: extracting github.com/golangci/ineffassign v0.0.0-20180808204949-42439a7714cc
go: downloading github.com/go-critic/go-critic v0.0.0-20181204210945-1df300866540
go: downloading github.com/go-toolsmith/astfmt v1.0.0
go: downloading sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
go: extracting github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec
go: extracting github.com/gobwas/glob v0.2.3
go: extracting github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
go: downloading github.com/golang/mock v1.0.0
go: downloading golang.org/x/sys v0.0.0-20190312061237-fead79001313
go: extracting github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
go: downloading github.com/spf13/afero v1.1.0
go: extracting github.com/BurntSushi/toml v0.3.1
go: downloading gopkg.in/yaml.v2 v2.2.1
go: extracting github.com/go-toolsmith/astfmt v1.0.0
go: downloading golang.org/x/text v0.3.0
go: downloading github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6
go: extracting sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663
go: extracting github.com/golang/mock v1.0.0
go: downloading github.com/kisielk/gotool v1.0.0
go: extracting github.com/kisielk/gotool v1.0.0
go: extracting github.com/go-critic/go-critic v0.0.0-20181204210945-1df300866540
go: extracting github.com/spf13/afero v1.1.0
go: extracting github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6
go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: extracting github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
go: extracting mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: extracting gopkg.in/yaml.v2 v2.2.1
go: downloading github.com/go-toolsmith/astcopy v1.0.0
go: downloading github.com/go-toolsmith/typep v1.0.0
go: downloading github.com/go-toolsmith/strparse v1.0.0
go: downloading github.com/go-toolsmith/astequal v1.0.0
go: extracting github.com/go-toolsmith/astcopy v1.0.0
go: downloading github.com/go-toolsmith/astp v1.0.0
go: extracting github.com/go-toolsmith/typep v1.0.0
go: downloading github.com/go-toolsmith/astcast v1.0.0
go: extracting github.com/go-toolsmith/astp v1.0.0
go: extracting github.com/go-toolsmith/strparse v1.0.0
go: extracting github.com/go-toolsmith/astequal v1.0.0
go: extracting github.com/go-toolsmith/astcast v1.0.0
go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663
go: extracting golang.org/x/sys v0.0.0-20190312061237-fead79001313
go: extracting github.com/gogo/protobuf v1.1.1
go: extracting golang.org/x/text v0.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment