From a63989afcdef989938faded3819f5425ab551d5a Mon Sep 17 00:00:00 2001 From: Gaige Lama Date: Fri, 11 May 2018 11:07:16 -0400 Subject: [PATCH] Ran gofmt on backend.go I ran gofmt on backend.go, this appears to valid edit. --- internal/cache/backend.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cache/backend.go b/internal/cache/backend.go index b6c163b29..14c796019 100644 --- a/internal/cache/backend.go +++ b/internal/cache/backend.go @@ -44,8 +44,8 @@ func (b *Backend) Remove(ctx context.Context, h restic.Handle) error { } var autoCacheTypes = map[restic.FileType]struct{}{ - restic.IndexFile: struct{}{}, - restic.SnapshotFile: struct{}{}, + restic.IndexFile: {}, + restic.SnapshotFile: {}, } // Save stores a new file in the backend and the cache.