Skip to content

Commit 76b75fb

Browse files
committed
TreeStore module implementation patch2
1 parent c6624f7 commit 76b75fb

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

persistence/trees/module.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ func Create(bus modules.Bus, options ...modules.ModuleOption) (modules.Module, e
3030
return new(treeStore).Create(bus, options...)
3131
}
3232

33-
func (t *treeStore) GetModuleName() string { return modules.TreeStoreModuleName }
34-
func (t *treeStore) Start() error { return nil }
35-
func (t *treeStore) Stop() error { return nil }
36-
func (t *treeStore) GetBus() modules.Bus { return t.bus }
37-
func (t *treeStore) SetBus(bus modules.Bus) { t.bus = bus }
33+
func (t *treeStore) GetModuleName() string { return modules.TreeStoreModuleName }
34+
func (t *treeStore) Start() error { return nil }
35+
func (t *treeStore) Stop() error { return nil }
3836

3937
// WithTreeStoreDirectory assigns the path where the tree store
4038
// saves its data.

0 commit comments

Comments
 (0)