From 6ca7c894dfbade1cf2ba13d9040eaa844545491b Mon Sep 17 00:00:00 2001 From: aaron Date: Mon, 4 Nov 2024 09:31:09 -0800 Subject: [PATCH] removed main.go --- server/main.go | 12 ++++++------ server/plugin.go | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/server/main.go b/server/main.go index cf8238e..47f349a 100644 --- a/server/main.go +++ b/server/main.go @@ -1,9 +1,9 @@ package main -import ( - "github.com/mattermost/mattermost/server/public/plugin" -) +//import ( +// "github.com/mattermost/mattermost/server/public/plugin" +//) -func main() { - plugin.ClientMain(&Plugin{}) -} +//func main() { +// plugin.ClientMain(&Plugin{}) +//} diff --git a/server/plugin.go b/server/plugin.go index 1afffec..bf2b7d5 100644 --- a/server/plugin.go +++ b/server/plugin.go @@ -175,3 +175,7 @@ func (p *Plugin) OnDeactivate() error { close(p.stopChannel) return nil } + +func main() { + plugin.ClientMain(&Plugin{}) +}