github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/internal/util/reflect.go (about) 1 package util 2 3 import "reflect" 4 5 func ReflectType(v reflect.Value) reflect.Type { 6 if v.Kind() != reflect.Invalid { 7 return v.Type() 8 } 9 return nil 10 }