refactor: Refactor storage queries and filters.

- Update local storage query constant and function calls
- Remove null and control characters from UTF-8 split function
This commit is contained in:
moonD4rk
2023-05-08 19:09:17 +08:00
parent 5376184c7e
commit 6c1f653b4f
3 changed files with 15 additions and 19 deletions
+5 -7
View File
@@ -1,10 +1,8 @@
package byteutil
var (
OnSplitUTF8Func = func(r rune) rune {
if r == 0x00 || r == 0x01 {
return -1
}
return r
var OnSplitUTF8Func = func(r rune) rune {
if r == 0x00 || r == 0x01 {
return -1
}
)
return r
}