prototyped svg reports
This commit is contained in:
@@ -49,6 +49,10 @@ func (j jsonRes) HTML(body []byte) Response {
|
||||
return HTML(body).wrap(j)
|
||||
}
|
||||
|
||||
func (j jsonRes) HTMLReader(body io.Reader) Response {
|
||||
return HTMLReader(body).wrap(j)
|
||||
}
|
||||
|
||||
func (j jsonRes) JSON(body any) Response {
|
||||
j.body = body
|
||||
return j
|
||||
|
||||
Reference in New Issue
Block a user