Chore: use any rather than interface{} (#74066)
This commit is contained in:
@@ -26,7 +26,7 @@ func (s *sqlxStore) Get(ctx context.Context, query *pref.Preference) (*pref.Pref
|
||||
|
||||
func (s *sqlxStore) List(ctx context.Context, query *pref.Preference) ([]*pref.Preference, error) {
|
||||
prefs := make([]*pref.Preference, 0)
|
||||
params := make([]interface{}, 0)
|
||||
params := make([]any, 0)
|
||||
filter := ""
|
||||
|
||||
if len(query.Teams) > 0 {
|
||||
|
||||
@@ -32,7 +32,7 @@ func (s *sqlStore) Get(ctx context.Context, query *pref.Preference) (*pref.Prefe
|
||||
|
||||
func (s *sqlStore) List(ctx context.Context, query *pref.Preference) ([]*pref.Preference, error) {
|
||||
prefs := make([]*pref.Preference, 0)
|
||||
params := make([]interface{}, 0)
|
||||
params := make([]any, 0)
|
||||
filter := ""
|
||||
|
||||
if len(query.Teams) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user