all repos — homestead @ 58fd23d385300f7faa1ee3bba766a0dd7aae6d93

Code for my website

drop storage interface (only one implementation)

Alin
commit

58fd23d385300f7faa1ee3bba766a0dd7aae6d93

parent

fadcc67ff52629041da2a8013c4fe786c6164cc9

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

changed files
M domain/content/builder/builder.go → domain/content/builder/builder.go
@@ -30,7 +30,7 @@ Source string `conf:"default:.,short:s,flag:src"`
Development bool `conf:"default:false,flag:dev"` VCSRemoteURL config.URL `conf:"default:https://git.alin.ovh/website"` - Storage storage.Writer `conf:"-"` + Storage *storage.Writer `conf:"-"` Repo *vcs.Repository `conf:"-"` }
@@ -40,7 +40,7 @@ return filepath.Join(src, rel)
} } -func copyFile(storage storage.Writer, src string, rel string) error { +func copyFile(storage *storage.Writer, src string, rel string) error { sf, err := os.Open(src) if err != nil { return fault.Wrap(err)