github.com/haalcala/mattermost-server-change-repo@v0.0.0-20210713015153-16753fbeee5f/cmd/mattermost/main.go (about) 1 // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 // See LICENSE.txt for license information. 3 4 package main 5 6 import ( 7 "os" 8 9 // Enterprise Deps 10 _ "github.com/gorilla/handlers" 11 _ "github.com/hako/durafmt" 12 _ "github.com/hashicorp/memberlist" 13 _ "github.com/mattermost/gosaml2" 14 _ "github.com/mattermost/ldap" 15 _ "github.com/mattermost/rsc/qr" 16 _ "github.com/prometheus/client_golang/prometheus" 17 _ "github.com/prometheus/client_golang/prometheus/promhttp" 18 _ "github.com/tylerb/graceful" 19 _ "gopkg.in/olivere/elastic.v6" 20 21 "github.com/mattermost/mattermost-server/v5/cmd/mattermost/commands" 22 // Import and register app layer slash commands 23 _ "github.com/mattermost/mattermost-server/v5/app/slashcommands" 24 // Plugins 25 _ "github.com/mattermost/mattermost-server/v5/model/gitlab" 26 // Enterprise Imports 27 _ "github.com/mattermost/mattermost-server/v5/imports" 28 ) 29 30 func main() { 31 if err := commands.Run(os.Args[1:]); err != nil { 32 os.Exit(1) 33 } 34 }