summaryrefslogtreecommitdiffstats
path: root/plugin/example_hello_world_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/example_hello_world_test.go')
-rw-r--r--plugin/example_hello_world_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/example_hello_world_test.go b/plugin/example_hello_world_test.go
index 0da171eb7..26f25c91a 100644
--- a/plugin/example_hello_world_test.go
+++ b/plugin/example_hello_world_test.go
@@ -12,7 +12,7 @@ type HelloWorldPlugin struct {
}
func (p *HelloWorldPlugin) ServeHTTP(c *plugin.Context, w http.ResponseWriter, r *http.Request) {
- fmt.Fprintf(w, "Hello, world!")
+ fmt.Fprint(w, "Hello, world!")
}
// This example demonstrates a plugin that handles HTTP requests which respond by greeting the