From fa05f6b0650497d7a3d5488cae9bb90b778c17e4 Mon Sep 17 00:00:00 2001 From: Jacob Brewer Date: Thu, 21 Mar 2024 15:19:25 +0000 Subject: [PATCH] linting --- pkg/services/generation/load.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/generation/load.go b/pkg/services/generation/load.go index ed56614..4e66fb0 100644 --- a/pkg/services/generation/load.go +++ b/pkg/services/generation/load.go @@ -21,7 +21,7 @@ func LoadSQL(paths ...string) ([]*models.Table, error) { return nil, err } for _, m := range matches { - matchedTables := make([]*models.Table, 0) + var matchedTables []*models.Table if fi, err := os.Stat(m); err != nil { return nil, err } else if fi.IsDir() {