-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for getting info from Invoke statements (#383)
This commit exposes InvokeInfo and FillInvokeInfo to help users extract the types requested by an Invoke statement. Example usage - var info InvokeInfo c.Invoke(func(typ1 type1, typ2 type2){}, FillInvokeInfo(&info)) // Will print the types requested by the Invoke statement for _, typ := range info.ReqTypes { fmt.Println(typ) } Refs: GO-669
- Loading branch information
Showing
2 changed files
with
148 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters