ing
This commit is contained in:
parent
c6729cf963
commit
d168f251ac
|
@ -152,7 +152,7 @@ Loop:
|
|||
|
||||
func validateType(t reflect.Type) (rt reflect.Type, rv reflect.Value, err error) {
|
||||
if t.Kind() == reflect.Struct {
|
||||
err = fmt.Errorf("Type is Struct. Pass by reference, i.e. %s", t)
|
||||
err = fmt.Errorf("Type is Struct. Pass by reference, i.e. *%s", t)
|
||||
return
|
||||
}
|
||||
rt = t
|
||||
|
|
Loading…
Reference in New Issue
Block a user