mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
Revert "GO -551 remove unused code"
This commit is contained in:
parent
295890a02d
commit
fba411c451
72 changed files with 4755 additions and 1306 deletions
|
@ -144,3 +144,8 @@ func HasPrefix(value, prefix []string) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
func Copy(s []string) []string {
|
||||
res := make([]string, len(s))
|
||||
copy(res, s)
|
||||
return res
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue