Update main.go (#154)
This commit is contained in:
parent
ca9ee3c17c
commit
be4a281d0c
1 changed files with 0 additions and 21 deletions
|
@ -9,27 +9,6 @@ import (
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
const pluginIDGoFileTemplate = `// This file is automatically generated. Do not modify it manually.
|
|
||||||
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"strings"
|
|
||||||
|
|
||||||
"github.com/mattermost/mattermost-server/v5/model"
|
|
||||||
)
|
|
||||||
|
|
||||||
var manifest *model.Manifest
|
|
||||||
|
|
||||||
const manifestStr = ` + "`" + `
|
|
||||||
%s
|
|
||||||
` + "`" + `
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
manifest = model.ManifestFromJson(strings.NewReader(manifestStr))
|
|
||||||
}
|
|
||||||
`
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) <= 1 {
|
if len(os.Args) <= 1 {
|
||||||
panic("no cmd specified")
|
panic("no cmd specified")
|
||||||
|
|
Reference in a new issue