format errUnknownType (#2103)

This commit is contained in:
ZhangYunHao 2019-10-26 14:20:35 +08:00 committed by thinkerou
parent 089016a092
commit 8a1bfcfd3b
1 changed files with 1 additions and 1 deletions

View File

@ -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")