refactor goctl, fix golint issues (#903)
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
)
|
||||
|
||||
func TestUnmarshalContext(t *testing.T) {
|
||||
|
||||
type Person struct {
|
||||
Name string `ctx:"name"`
|
||||
Age int `ctx:"age"`
|
||||
|
||||
@@ -524,7 +524,6 @@ func (u *Unmarshaler) fillSliceValue(slice reflect.Value, index int, baseKind re
|
||||
return errTypeMismatch
|
||||
}
|
||||
|
||||
|
||||
ithVal.Set(reflect.ValueOf(value))
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user