mirror of
https://github.com/gin-gonic/gin.git
synced 2025-08-06 19:19:51 +08:00
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:
parent
5826722a87
commit
ad4f436ae9
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user