Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMainStorage ¶
func SetMainStorage(storage *Storage)
SetMainStorage will a single-instance storage globally
Types ¶
type Storage ¶
Storage is a struct that holds important database info like the connection pool and resource in use used
var DB *Storage
DB is a singleton instance of the Storage
Click to show internal directories.
Click to hide internal directories.