PHP » GoLang |
login |
register |
about
|
array_valuesarray_values[code] func ArrayValues(elements map[interface{}]interface{}) []interface{} { i, vals := 0, make([]interface{}, len(elements)) for _, val := range elements { vals[i] = val i++ } return vals } [/code] |