format the code

This commit is contained in:
byene0923
2021-04-19 00:03:30 +08:00
parent 89c2b85471
commit c349775c49
2 changed files with 2 additions and 4 deletions

View File

@@ -287,7 +287,6 @@ func (c *Controller) BindXML(obj interface{}) error {
return xml.Unmarshal(c.Ctx.Input.RequestBody, obj)
}
// Mapping the method to function
func (c *Controller) Mapping(method string, fn func()) {
c.methodMapping[method] = fn