diff --git a/transport/http/codec_go1.20.go b/transport/http/codec_go1.20.go new file mode 100644 index 000000000..2df5ec92b --- /dev/null +++ b/transport/http/codec_go1.20.go @@ -0,0 +1,10 @@ +//go:build go1.20 +// +build go1.20 + +package http + +import "net/http" + +// ResponseController is type net/http.ResponseController which was added in Go 1.20. + +type ResponseController = http.ResponseController