docs: correct article usage in comments (#4301)
- Fix 'an url' to 'a URL' in logger.go comment - Fix 'an form' to 'a form' in binding/form_mapping.go comment - Improve grammar consistency in code documentation
This commit is contained in:
@@ -175,7 +175,7 @@ func tryToSetValue(value reflect.Value, field reflect.StructField, setter setter
|
||||
|
||||
// BindUnmarshaler is the interface used to wrap the UnmarshalParam method.
|
||||
type BindUnmarshaler interface {
|
||||
// UnmarshalParam decodes and assigns a value from an form or query param.
|
||||
// UnmarshalParam decodes and assigns a value from a form or query param.
|
||||
UnmarshalParam(param string) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user