package
Version:
v0.0.0-...-b322d5c
Opens a new window with list of versions in this module.
Published: Nov 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ProviderSet is a Wire provider set that initializes new datastore instances
and binds the IStore interface to the actual datastore type.
Singleton instance variables.
func NewStore(db *gorm.DB) *datastore
NewStore initializes a new datastore instance using the provided DB gorm instance.
It also creates a singleton instance for the datastore.
IStore is an interface that represents methods
required to be implemented by a Store implementation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.