Make ResponseWriter a struct
Make ResponseWriter a struct again so that it can be extended in a backwards-compatible way.
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
type nopHandler struct{}
|
||||
|
||||
func (*nopHandler) ServeGemini(context.Context, ResponseWriter, *Request) {}
|
||||
func (*nopHandler) ServeGemini(context.Context, *ResponseWriter, *Request) {}
|
||||
|
||||
func TestServeMuxMatch(t *testing.T) {
|
||||
type Match struct {
|
||||
|
||||
Reference in New Issue
Block a user