diff --git a/storage/storage.go b/storage/storage.go index 1dc71d5..8c0d3ef 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -49,6 +49,9 @@ var Module = fx.Module("storage", fx.Provide( NewStorageService, ), + fx.Invoke(func(s *StorageServiceDefault) error { + return s.init() + }), ) type StorageServiceDefault struct {