func GetArrayFirstElement(rows interface{}) interface{} {
	v := reflect.ValueOf(rows)
	if v.Kind() == reflect.Slice {
		return v.Index(0).Interface()
	}
	// if not a slice, return input arg
	return rows
}
// GetArrayFirstElement return rows first row.
// rows must be a slice.
GetArrayFirstElement return rows first row.
rows must be a slice.
// GetArrayFirstElement return rows first row . // rows must be a slice .
func GetArrayFirstElement(rows interface{}) interface{} {
	v := reflect.ValueOf(rows)
	if v.Kind() == reflect.Slice {
		return v.Index(0).Interface()
	}
	return rows
}
func GetArrayFirstElement ( rows interface { } ) interface { } { v := reflect . ValueOf ( rows ) if v . Kind ( ) == reflect . Slice { return v . Index ( 0 ) . Interface ( ) } return rows }
GetArrayFirstElement return rows first row.
GetArrayFirstElement return rows first row .
// if not a slice, return input arg