fix plugin example docs (#9148)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
8387d92ea2
Коммит
b89ccca929
@@ -7,7 +7,9 @@ import (
|
||||
"github.com/mattermost/mattermost-server/plugin"
|
||||
)
|
||||
|
||||
type HelloWorldPlugin struct{}
|
||||
type HelloWorldPlugin struct {
|
||||
plugin.MattermostPlugin
|
||||
}
|
||||
|
||||
func (p *HelloWorldPlugin) ServeHTTP(c *plugin.Context, w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, "Hello, world!")
|
||||
|
||||
Ссылка в новой задаче
Block a user