add http.ResponseController type alias (#2713)

Co-authored-by: czyt <czyt@w.cn>
pull/2612/head
虫子樱桃 1 year ago committed by GitHub
parent 99ccd00434
commit 6a4d17d79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      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
Loading…
Cancel
Save