This commit is contained in:
@@ -47,6 +47,10 @@ func (b bodyRes) HTML(body []byte) Response {
|
||||
return HTML(body).wrap(b)
|
||||
}
|
||||
|
||||
func (b bodyRes) HTMLReader(body io.Reader) Response {
|
||||
return HTMLReader(body).wrap(b)
|
||||
}
|
||||
|
||||
func (b bodyRes) JSON(body any) Response {
|
||||
return JSON(body).wrap(b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user