1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-12 02:28:05 +02:00

add http.ResponseController type alias (#2713)

Co-authored-by: czyt <czyt@w.cn>
This commit is contained in:
虫子樱桃 2023-03-26 22:51:38 +08:00 committed by GitHub
parent 99ccd00434
commit 6a4d17d79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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