A small typo fix

This commit is contained in:
Ernad Halilovic 2016-04-15 12:51:28 +02:00
parent 34056c1c66
commit d607a76097

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