all repos — homestead @ 58fd23d385300f7faa1ee3bba766a0dd7aae6d93

Code for my website

drop storage interface (only one implementation)

Alin
commit

58fd23d385300f7faa1ee3bba766a0dd7aae6d93

parent

fadcc67ff52629041da2a8013c4fe786c6164cc9

1 file changed, 3 insertions(+), 3 deletions(-)

changed files
M domain/content/builder/build/main.go → domain/content/builder/build/main.go
@@ -10,7 +10,7 @@ "github.com/ardanlabs/conf/v3"
"alin.ovh/homestead/domain/content/builder" "alin.ovh/homestead/shared/config" - "alin.ovh/homestead/shared/storage/files" + "alin.ovh/homestead/shared/storage" "alin.ovh/homestead/shared/vcs" )
@@ -42,10 +42,10 @@ panic("could not open repository: " + err.Error())
} options.Repo = repo - options.Storage, err = files.NewWriter( + options.Storage, err = storage.NewWriter( options.Destination, log.Named("storage"), - &files.Options{ + &storage.Options{ Compress: options.Compress, }, )