active user

pull/476/head
withchao 1 year ago
parent 898adbb833
commit 0cb1fc3e52

@ -5,7 +5,6 @@ var Relation = &relation{m: make(map[int]map[int]struct{})}
func init() { func init() {
Relation.Add(RecordNotFoundError, UserIDNotFoundError) Relation.Add(RecordNotFoundError, UserIDNotFoundError)
Relation.Add(RecordNotFoundError, GroupIDNotFoundError) Relation.Add(RecordNotFoundError, GroupIDNotFoundError)
Relation.Add(DuplicateKeyError, UserIDExisted)
Relation.Add(DuplicateKeyError, GroupIDExisted) Relation.Add(DuplicateKeyError, GroupIDExisted)
} }

Loading…
Cancel
Save