Merge pull request #147 from ernadhalilovic/master

A small typo fix
This commit is contained in:
Dan Sosedoff 2016-04-15 10:57:05 -05:00
commit 174a74023d

View File

@ -103,7 +103,7 @@ func parseIntFormValue(c *gin.Context, name string, defValue int) (int, error) {
}
if num < 1 && defValue != 0 {
return defValue, fmt.Errorf("%s must be greated than 0", name)
return defValue, fmt.Errorf("%s must be greater than 0", name)
}
return num, nil