mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
10 lines
189 B
Go
10 lines
189 B
Go
|
package utils
|
||
|
|
||
|
func GetMapValues(m map[string]interface{}) []interface{} {
|
||
|
values := make([]interface{}, 0, len(m))
|
||
|
for _, v := range m {
|
||
|
values = append(values, v)
|
||
|
}
|
||
|
return values
|
||
|
}
|