github.com/gigforks/mattermost-server@v4.9.1-0.20180619094218-800d97fa55d0+incompatible/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  	"github.com/mattermost/mattermost-server/cmd"
    10  	_ "github.com/mattermost/mattermost-server/cmd/commands"
    11  
    12  	// Plugins
    13  	_ "github.com/mattermost/mattermost-server/model/gitlab"
    14  	_ "github.com/mattermost/mattermost-server/model/iyo"
    15  
    16  	// Enterprise Imports
    17  	_ "github.com/mattermost/mattermost-server/imports"
    18  
    19  	// Enterprise Deps
    20  	_ "github.com/dgryski/dgoogauth"
    21  	_ "github.com/go-ldap/ldap"
    22  	_ "github.com/hako/durafmt"
    23  	_ "github.com/hashicorp/memberlist"
    24  	_ "github.com/mattermost/rsc/qr"
    25  	_ "github.com/prometheus/client_golang/prometheus"
    26  	_ "github.com/prometheus/client_golang/prometheus/promhttp"
    27  	_ "github.com/tylerb/graceful"
    28  	_ "gopkg.in/olivere/elastic.v5"
    29  )
    30  
    31  func main() {
    32  	if err := cmd.Run(os.Args[1:]); err != nil {
    33  		os.Exit(1)
    34  	}
    35  }