From b89ccca929e67ddd2a8f7ac2e952532bf615a51b Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Wed, 25 Jul 2018 08:01:13 -0400 Subject: fix plugin example docs (#9148) --- plugin/example_hello_world_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/example_hello_world_test.go b/plugin/example_hello_world_test.go index 955c6df3c..0da171eb7 100644 --- a/plugin/example_hello_world_test.go +++ b/plugin/example_hello_world_test.go @@ -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!") -- cgit v1.2.3-1-g7c22