// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. package main import ( "os" "github.com/mattermost/mattermost-server/v5/cmd/mattermost/commands" // Import and register app layer slash commands _ "github.com/mattermost/mattermost-server/v5/app/slashcommands" // Plugins _ "github.com/mattermost/mattermost-server/v5/model/gitlab" // Enterprise Imports _ "github.com/mattermost/mattermost-server/v5/imports" // Enterprise Deps _ "github.com/gorilla/handlers" _ "github.com/hako/durafmt" _ "github.com/hashicorp/memberlist" _ "github.com/mattermost/gosaml2" _ "github.com/mattermost/ldap" _ "github.com/mattermost/rsc/qr" _ "github.com/prometheus/client_golang/prometheus" _ "github.com/prometheus/client_golang/prometheus/promhttp" _ "github.com/tylerb/graceful" _ "gopkg.in/olivere/elastic.v6" ) func main() { if err := commands.Run(os.Args[1:]); err != nil { os.Exit(1) } }