1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 09:35:00 +09:00

GO-551: cleanup utils

Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
This commit is contained in:
AnastasiaShemyakinskaya 2022-12-16 11:39:36 +03:00
parent c8839c55a3
commit 7494a9f7d5
No known key found for this signature in database
GPG key ID: CCD60ED83B103281
11 changed files with 1 additions and 465 deletions

View file

@ -144,8 +144,3 @@ func HasPrefix(value, prefix []string) bool {
return true
}
func Copy(s []string) []string {
res := make([]string, len(s))
copy(res, s)
return res
}