chore: remove unused pointer in rules implements

This commit is contained in:
wwqgtxx
2026-01-06 09:29:09 +08:00
parent 487de9b548
commit b18a33552c
21 changed files with 81 additions and 53 deletions

View File

@@ -8,7 +8,7 @@ import (
)
type InUser struct {
*Base
Base
users []string
adapter string
payload string
@@ -46,9 +46,11 @@ func NewInUser(iUsers, adapter string) (*InUser, error) {
}
return &InUser{
Base: &Base{},
Base: Base{},
users: users,
adapter: adapter,
payload: iUsers,
}, nil
}
var _ C.Rule = (*InUser)(nil)