William Petit 670c28bb94
Some checks failed
Cadoles/bouncer/pipeline/head There was a failure building this commit
feat: initial commit
2023-05-12 15:41:39 +02:00

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
}