This repository has been archived on 2024-11-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mattermost-plugin-attachmen.../plugin.go
2021-08-25 09:29:26 +02:00

17 lines
298 B
Go

package root
import (
_ "embed" // Need to embed manifest file
"strings"
"github.com/mattermost/mattermost-server/v6/model"
)
//go:embed plugin.json
var manifestString string
var Manifest model.Manifest
func init() {
Manifest = *model.ManifestFromJson(strings.NewReader(manifestString))
}