Skip to content

Conversation

Sahil-4555
Copy link
Contributor

@Sahil-4555 Sahil-4555 commented Sep 26, 2025

What type of PR is this?

Other

What does this PR do? Why is it needed?
Refactors code to use reflect.TypeAssert instead of .Interface().(T), making type checks safer (no panic, always returns ok).

Which issues(s) does this PR fix?
Replaces .Interface().(T) with reflect.TypeAssert for clearer and safer type checks.

Reference

Acknowledgements

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.

1 participant