HTML writes out a string as text/html.
(format string, args ...interface{})
| 4041 | |
| 4042 | // HTML writes out a string as text/html. |
| 4043 | func (ctx *Context) HTML(format string, args ...interface{}) (int, error) { |
| 4044 | ctx.ContentType(ContentHTMLHeaderValue) |
| 4045 | return ctx.Writef(format, args...) |
| 4046 | } |
| 4047 | |
| 4048 | // ProtoMarshalOptions is a type alias for protojson.MarshalOptions. |
| 4049 | type ProtoMarshalOptions = protojson.MarshalOptions |