Skip to content

refactor: use reflect.TypeFor#3566

Merged
JoeGruffins merged 1 commit intodecred:masterfrom
tsinglua:master
Mar 17, 2026
Merged

refactor: use reflect.TypeFor#3566
JoeGruffins merged 1 commit intodecred:masterfrom
tsinglua:master

Conversation

@tsinglua
Copy link
Contributor

Try to use better api reflect.TypeFor instead of reflect.TypeOf when we have known the type.
More info golang/go#60088

Signed-off-by: tsinglua <tsinglua@outlook.com>
@JoeGruffins JoeGruffins merged commit 4b6be5e into decred:master Mar 17, 2026
5 checks passed
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