We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3fc02 commit 1b2cf6eCopy full SHA for 1b2cf6e
bindstring.go
@@ -42,7 +42,7 @@ func BindStringToObject(src string, dst interface{}) error {
42
t = v.Type()
43
}
44
45
- // For some optioinal args
+ // For some optional args
46
if t.Kind() == reflect.Ptr {
47
if v.IsNil() {
48
v.Set(reflect.New(t.Elem()))
0 commit comments