mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-23 22:40:24 +02:00
[#47] fixed some doc and code inconsistencies and removed some redundant parentheses
This commit is contained in:
1 parent
d64fbf9011
commit
460c684caa
9 files changed
+17
-17
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
var cachedPatterns = map[string]*regexp.Regexp{}
|
||||
|
||||
// ExustInSlice checks whether a comparable element exists in a slice of the same type.
|
||||
// ExistInSlice checks whether a comparable element exists in a slice of the same type.
|
||||
func ExistInSlice[T comparable](item T, list []T) bool {
|
||||
if len(list) == 0 {
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user