Skip to content

Commit

Permalink
re-introduce the unused parameters in plugin.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmister authored Nov 20, 2023
1 parent cace029 commit 1d4529a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Plugin struct {
}

// ServeHTTP demonstrates a plugin that handles HTTP requests by greeting the world.
func (p *Plugin) ServeHTTP(_ *plugin.Context, w http.ResponseWriter, _ *http.Request) {
func (p *Plugin) ServeHTTP(c *plugin.Context, w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, "Hello, world!")
}

Expand Down

0 comments on commit 1d4529a

Please sign in to comment.