Replace interface{} with any

This commit is contained in:
ionutboangiu
2023-05-29 11:44:03 -04:00
committed by Dan Christian Bogos
parent 1d7bd1389b
commit 113e2a2bdf
628 changed files with 7230 additions and 7230 deletions

View File

@@ -1387,7 +1387,7 @@ func TestCoreUtilsGenerateDBItemOpts(t *testing.T) {
cache := "testKey3"
rmtHost := "testKey4"
expected := map[string]interface{}{
expected := map[string]any{
OptsAPIKey: apiKey,
OptsRouteID: routeID,
MetaCache: cache,
@@ -1636,7 +1636,7 @@ func TestCoreUtilsPagination(t *testing.T) {
}
func TestAPITPDataGetPaginateOpts(t *testing.T) {
opts := map[string]interface{}{
opts := map[string]any{
PageLimitOpt: 1.3,
PageOffsetOpt: 4,
PageMaxItemsOpt: "5",