Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec() error
Exec initializes storage, then performs operations using the storage interface
func PerformOperations ¶
PerformOperations creates a candle item then gets it
Types ¶
type MongoStorage ¶
MongoStorage implements our storage interface
func NewMongoStorage ¶
func NewMongoStorage(ctx context.Context, connection, db, collection string) (*MongoStorage, error)
NewMongoStorage initializes a MongoStorage
Click to show internal directories.
Click to hide internal directories.