Skip to content

Conversation

@epicmr
Copy link

@epicmr epicmr commented Apr 12, 2023

No description provided.

Copy link
Contributor

@jfbus jfbus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, and sorry for the late answer.

dst.Index(i).Set(dv)
}
return dst, nil
dstAddr := reflect.New(f.t).Elem()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this part necessary ?

eb, err = makeStructBuilder(t.Elem())
} else if t.Elem().Kind() == reflect.Slice {
eb, err = makeSliceBuilder(t.Elem())
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on builder.go, this will never occur...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants