From ac8e3a853c4fe372b61d6ae4922ee8d61edcbb6a Mon Sep 17 00:00:00 2001 From: Rajat Varyani <37879062+RajatVaryani@users.noreply.github.com> Date: Mon, 4 Nov 2019 23:18:25 +0530 Subject: [PATCH] Add gorilla/handlers dependency as it is used in enterprise version (#12991) * Add gorilla/handlers dependency as it is used in enterprise version * Remove unused dependencies --- cmd/mattermost/main.go | 2 +- go.mod | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/mattermost/main.go b/cmd/mattermost/main.go index 69907b0f3c..c51c36502d 100644 --- a/cmd/mattermost/main.go +++ b/cmd/mattermost/main.go @@ -15,7 +15,7 @@ import ( _ "github.com/mattermost/mattermost-server/imports" // Enterprise Deps - _ "github.com/dgryski/dgoogauth" + _ "github.com/gorilla/handlers" _ "github.com/hako/durafmt" _ "github.com/hashicorp/memberlist" _ "github.com/mattermost/ldap" diff --git a/go.mod b/go.mod index 2c1e6b3078..9f2699c127 100644 --- a/go.mod +++ b/go.mod @@ -52,8 +52,6 @@ require ( github.com/miekg/dns v1.1.19 // indirect github.com/minio/minio-go/v6 v6.0.38 github.com/mitchellh/go-testing-interface v1.0.0 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.1 // indirect github.com/muesli/smartcrop v0.3.0 // indirect github.com/olekukonko/tablewriter v0.0.1 // indirect github.com/onsi/ginkgo v1.8.0 // indirect