store: fix comment

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-11-06 00:03:40 +03:00
parent dc63d96e0b
commit 3542d6c824
2 changed files with 1 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ var (
// Store is a data storage interface
type Store interface {
// Init initialises the store. It must perform any required setup on the backing storage implementation and check that it is ready for use, returning any errors.
// Init initialises the store
Init(opts ...Option) error
// Connect is used when store needs to be connected
Connect(ctx context.Context) error