Select Git revision
-
Md. Alim Ul Karim authored
# v0.6.8 - Integration Test Helper (Validators, SliceValidators, Refactoring, ReflectSlice functions) - [x] Validators - [x] SliceValidators - [x] Refactoring - [x] ReflectSlice functions See merge request !55
Md. Alim Ul Karim authored# v0.6.8 - Integration Test Helper (Validators, SliceValidators, Refactoring, ReflectSlice functions) - [x] Validators - [x] SliceValidators - [x] Refactoring - [x] ReflectSlice functions See merge request !55
MapKeysStringSliceAnyMust.go 236 B
package coredynamic
import "reflect"
func MapKeysStringSliceAnyMust(any interface{}) []string {
reflectVal := reflect.ValueOf(any)
mapKeys, err := MapKeysStringSlice(reflectVal)
if err != nil {
panic(err)
}
return mapKeys
}