diff options
author | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:58:34 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:58:34 +0300 |
commit | 2e9503fff8dfbc34399264e28a0738eab565fe9d (patch) | |
tree | 48cee9ef470699df0f28df0b9a7ca726887f252f /internal/serving | |
parent | f8a1639beb6cbaf2f63f42ba362be4a4c9294a97 (diff) |
Use actual structs in Config struct instead of pointers to them
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'internal/serving')
-rw-r--r-- | internal/serving/disk/zip/serving_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/serving/disk/zip/serving_test.go b/internal/serving/disk/zip/serving_test.go index 249dae1f..2cbee18d 100644 --- a/internal/serving/disk/zip/serving_test.go +++ b/internal/serving/disk/zip/serving_test.go @@ -86,7 +86,7 @@ func TestZip_ServeFileHTTP(t *testing.T) { } cfg := &config.Config{ - Zip: &config.ZipServing{ + Zip: config.ZipServing{ ExpirationInterval: 10 * time.Second, CleanupInterval: 5 * time.Second, RefreshInterval: 5 * time.Second, |