From c80c10e6b68f14fa69b210d287f046b80231c726 Mon Sep 17 00:00:00 2001 From: Julien LEICHER Date: Mon, 23 Sep 2024 11:02:07 +0200 Subject: [PATCH] feat: manual proxy configuration, closes #58 Also includes some tests refactoring to move towards better coverage and simpler unit tests #63. --- pkg/storage/sqlite/builder/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/sqlite/builder/builder.go b/pkg/storage/sqlite/builder/builder.go index b7bf74c..1d291ef 100644 --- a/pkg/storage/sqlite/builder/builder.go +++ b/pkg/storage/sqlite/builder/builder.go @@ -161,7 +161,7 @@ func (q *queryBuilder[T]) All( defer rows.Close() - var results []T + results := make([]T, 0) // Instantiates needed stuff for data loaders mappings := make([]keysMapping, len(loaders))