This commit is contained in:
LI Daobing
2017-10-11 14:35:31 +08:00
parent 3162da131d
commit 9b57566963
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import (
// MethodParamOption defines a func which apply options on a MethodParam
type MethodParamOption func(*MethodParam)
// IsRequired indicates that this param is required and can not be ommited from the http request
// IsRequired indicates that this param is required and can not be omitted from the http request
var IsRequired MethodParamOption = func(p *MethodParam) {
p.required = true
}