refactor goctl, fix golint issues (#903)

This commit is contained in:
Kevin Wan
2021-08-11 18:08:01 +08:00
committed by GitHub
parent 1fb356f328
commit 69935c1ba3
3 changed files with 5 additions and 7 deletions

View File

@@ -8,7 +8,6 @@ import (
)
func TestUnmarshalContext(t *testing.T) {
type Person struct {
Name string `ctx:"name"`
Age int `ctx:"age"`

View File

@@ -524,7 +524,6 @@ func (u *Unmarshaler) fillSliceValue(slice reflect.Value, index int, baseKind re
return errTypeMismatch
}
ithVal.Set(reflect.ValueOf(value))
return nil
}