Robuta

https://yourbasic.org/golang/type-assertion-switch/ Type assertions and type switches · YourBasic Go Sep 15, 2018 - To convert an interface to a string, struct or map you should use a type assertion, which provides access to an interface’s concrete value. type assertionsswitchesgo