Golang reflect
What Reflect can be used for.
Reflection can be used to examine type and value info at runtime.
How to get the actual type of an interface.
package main
import (
"fmt"
"reflect"
)
func typeOf(vals ...interface{}) {
for _, v := range val...
codeforfun.hashnode.dev2 min read