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:
parent
99ccd00434
commit
6a4d17d79a
10
transport/http/codec_go1.20.go
Normal file
10
transport/http/codec_go1.20.go
Normal 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
|
Loading…
Reference in New Issue
Block a user