fix ununsed param (#189)
This commit is contained in:
parent
eef27c854b
commit
5237d354cf
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ type Plugin struct {
|
|||
}
|
||||
|
||||
// ServeHTTP demonstrates a plugin that handles HTTP requests by greeting the world.
|
||||
func (p *Plugin) ServeHTTP(c *plugin.Context, w http.ResponseWriter, r *http.Request) {
|
||||
func (p *Plugin) ServeHTTP(_ *plugin.Context, w http.ResponseWriter, _ *http.Request) {
|
||||
fmt.Fprint(w, "Hello, world!")
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue