mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-20 08:55:53 +08:00
update comment (#1057)
This commit is contained in:
2
utils.go
2
utils.go
@ -47,7 +47,7 @@ func WrapH(h http.Handler) HandlerFunc {
|
||||
|
||||
type H map[string]interface{}
|
||||
|
||||
// MarshalXML allows type H to be used with xml.Marshal
|
||||
// MarshalXML allows type H to be used with xml.Marshal.
|
||||
func (h H) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
|
||||
start.Name = xml.Name{
|
||||
Space: "",
|
||||
|
Reference in New Issue
Block a user