Mattermost plugin first commit

This commit is contained in:
Zef Hemel
2022-07-22 13:44:45 +02:00
parent 65234e17dd
commit 88121da341
21 changed files with 2796 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
package root
import (
_ "embed" // Need to embed manifest file
"encoding/json"
"strings"
"github.com/mattermost/mattermost-server/v6/model"
)
//go:embed plugin.json
var manifestString string
var Manifest model.Manifest
func init() {
_ = json.NewDecoder(strings.NewReader(manifestString)).Decode(&Manifest)
}