William Petit
e66938f1d3
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
12 lines
141 B
Go
12 lines
141 B
Go
package flag
|
|
|
|
func AsAnySlice[T any](src []T) []any {
|
|
dst := make([]any, len(src))
|
|
|
|
for i, s := range src {
|
|
dst[i] = s
|
|
}
|
|
|
|
return dst
|
|
}
|