mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
Integrate: many fixes
This commit is contained in:
parent
e38808bb6c
commit
37376ff141
17 changed files with 127 additions and 118 deletions
|
@ -245,3 +245,11 @@ func StringsInto[T ~string](from []string) []T {
|
|||
}
|
||||
return to
|
||||
}
|
||||
|
||||
func IntoStrings[T ~string](from []T) []string {
|
||||
to := make([]string, len(from))
|
||||
for i, v := range from {
|
||||
to[i] = string(v)
|
||||
}
|
||||
return to
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue