@ -6,12 +6,19 @@ package gin
import (
"encoding/xml"
"net/http"
"path"
"reflect"
"runtime"
"strings"
)
func Wrap(f http.HandlerFunc) HandlerFunc {
return func(c *Context) {
f(c.Writer, c.Request)
}
type H map[string]interface{}
// Allows type H to be used with xml.Marshal
The note is not visible to the blocked user.