-
-
Notifications
You must be signed in to change notification settings - Fork 574
Open
Description
How do you feel about adding some functions, for example func Embed(exteranTypeInstance any) to reuse external type definitions with their methods? I want to use methods of go types from external libs. I found a solution with "ConvertTo()", but in my opinion it is too inconveniently to write every time something like res.ConvertToMyCustomExternalType().MyMethod().
Or is there any other way to make it possible to use res.MyMethod() directly?
Metadata
Metadata
Assignees
Labels
No labels