Created
October 13, 2021 09:50
-
-
Save filinvadim/dde5a207bbe36a8a629fa56ed2aa947d to your computer and use it in GitHub Desktop.
Revisions
-
Vadim Filin created this gist
Oct 13, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ val := reflect.ValueOf(&struct{}) for i := 0; i < val.NumMethod(); i++ { name := val.Type().Method(i).Name }