Int64sToStrings converts a slice of int64 to a slice of string.
(ints []int64)
| 358 | |
| 359 | // Int64sToStrings converts a slice of int64 to a slice of string. |
| 360 | func Int64sToStrings(ints []int64) []string { |
| 361 | strs := make([]string, len(ints)) |
| 362 | for i := range ints { |
| 363 | strs[i] = com.ToStr(ints[i]) |
| 364 | } |
| 365 | return strs |
| 366 | } |
| 367 | |
| 368 | // Int64sToMap converts a slice of int64 to a int64 map. |
| 369 | func Int64sToMap(ints []int64) map[int64]bool { |
no outgoing calls
no test coverage detected