1
0
Fork 0
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:
Anastasia Shemyakinskaya 2022-12-21 12:12:26 +03:00 committed by GitHub
parent 295890a02d
commit fba411c451
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 4755 additions and 1306 deletions

View file

@ -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
}