mirror of https://github.com/gin-gonic/gin.git
format errUnknownType (#2103)
This commit is contained in:
parent
089016a092
commit
8a1bfcfd3b
|
@ -15,7 +15,7 @@ import (
|
||||||
"github.com/gin-gonic/gin/internal/json"
|
"github.com/gin-gonic/gin/internal/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errUnknownType = errors.New("Unknown type")
|
var errUnknownType = errors.New("unknown type")
|
||||||
|
|
||||||
func mapUri(ptr interface{}, m map[string][]string) error {
|
func mapUri(ptr interface{}, m map[string][]string) error {
|
||||||
return mapFormByTag(ptr, m, "uri")
|
return mapFormByTag(ptr, m, "uri")
|
||||||
|
|
Loading…
Reference in New Issue