Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-05-21 03:52:19 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-05-28 04:10:14 +0300
commitf6dfa5d0043aeaa616c16f8babb64c0d0e8f72dd (patch)
treef8cbab7f2c4a30c07f827a50d7877c388e18616f /go.mod
parent559311801a1e9114f8dee71faa388dcefab3dcbe (diff)
Add .golangci.yml linter configuration
As part of https://gitlab.com/gitlab-org/gitlab-pages/-/issues/385 we have introduced the use of a custom `.golangci.yml` file with some custom rules for linting. This replaces the need of downloading and using `golint`, `gofmt` `go vet` and `gocyclo` manually. We take advantage of the custom `golangci-lint` docker image as stated in the [Automatic lintinb] (https://docs.gitlab.com/ee/development/go_guide/#automatic-linting) section of the Go standards and style guidelines. This iteration enables a subset of linters, with the remaining of them enabled on a separate MR as described in the issue above. The main changes introduced by this linter include: - gosec: potential hardcoded credentials - goconst: DRY by declaring and using constants - gosimple: reduce statements complexity and improve return statements
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod33
1 files changed, 32 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index d33140f7..876c7c34 100644
--- a/go.mod
+++ b/go.mod
@@ -3,29 +3,60 @@ module gitlab.com/gitlab-org/gitlab-pages
go 1.12
require (
+ github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2 // indirect
+ github.com/client9/reopen v1.0.0 // indirect
+ github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/fzipp/gocyclo v0.0.0-20150627053110-6acd4345c835
+ github.com/getsentry/raven-go v0.1.0 // indirect
+ github.com/getsentry/sentry-go v0.5.1 // indirect
+ github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 // indirect
+ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72 // indirect
+ github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect
github.com/golang/mock v1.3.1
+ github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc // indirect
github.com/gorilla/context v1.1.1
github.com/gorilla/handlers v1.4.2
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.2.0
+ github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 // indirect
+ github.com/jstemmer/go-junit-report v0.9.1 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
github.com/karrick/godirwalk v1.10.12
+ github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
+ github.com/lightstep/lightstep-tracer-go v0.15.6 // indirect
github.com/namsral/flag v1.7.4-pre
+ github.com/opentracing/opentracing-go v1.0.2 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible
+ github.com/philhofer/fwd v1.0.0 // indirect
github.com/prometheus/client_golang v1.1.0
+ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect
github.com/rs/cors v1.7.0
+ github.com/sebest/xff v0.0.0-20160910043805-6c115e0ffa35 // indirect
github.com/sirupsen/logrus v1.4.2
github.com/stretchr/testify v1.4.0
+ github.com/tinylib/msgp v1.0.2 // indirect
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce
+ github.com/uber-go/atomic v1.3.2 // indirect
+ github.com/uber/jaeger-client-go v2.15.0+incompatible // indirect
+ github.com/uber/jaeger-lib v1.5.0 // indirect
github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad
- gitlab.com/gitlab-org/labkit v0.0.0-20200414155917-f06e28fff6fa
+ gitlab.com/gitlab-org/labkit v0.0.0-20200520155818-96e583c57891
gitlab.com/lupine/go-mimedb v0.0.0-20180307000149-e8af1d659877
+ go.opencensus.io v0.22.2 // indirect
+ go.uber.org/atomic v1.3.2 // indirect
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f
+ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee // indirect
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa
+ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
+ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect
golang.org/x/sys v0.0.0-20200113162924-86b910548bc1
golang.org/x/tools v0.0.0-20200117161641-43d50277825c
+ google.golang.org/api v0.15.0 // indirect
+ google.golang.org/appengine v1.6.5 // indirect
+ google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba // indirect
+ google.golang.org/grpc v1.24.0 // indirect
+ gopkg.in/DataDog/dd-trace-go.v1 v1.7.0 // indirect
gopkg.in/yaml.v2 v2.2.8
)