I have the following code, where the TokenMap struct is actually part of another package.
idMap is not exported and thus not accessible without reflection.
Through reflection I can easily find the value of "int", which is "28".
Now, I'd like to do the opposite though. I'd like to find "28"'s index (i e "int").
How would I go about that?
https://play.golang.org/p/UnMi4gQGrIr