Chore: use any rather than interface{} (#74066)

This commit is contained in:
Ryan McKinley
2023-08-30 18:46:47 +03:00
committed by GitHub
parent 3e272d2bda
commit 025b2f3011
525 changed files with 2528 additions and 2528 deletions
+3 -3
View File
@@ -21,19 +21,19 @@ func (err ErrUnsupportedExprType) Error() string {
type exprParam struct {
colName string
arg interface{}
arg any
}
type exprParams struct {
colNames []string
args []interface{}
args []any
}
func (exprs *exprParams) Len() int {
return len(exprs.colNames)
}
func (exprs *exprParams) addParam(colName string, arg interface{}) {
func (exprs *exprParams) addParam(colName string, arg any) {
exprs.colNames = append(exprs.colNames, colName)
exprs.args = append(exprs.args, arg)
}