Documentation ¶
Index ¶
- Constants
- func GetCache(cfg *config) (_cache.Cacher, error)
- func GetConfig() (*config, error)
- func GetDB(cfg *config) (*gorm.DB, error)
- func GetPubsub(cfg *config) (_pubsub.PubSub, error)
- func GetService(cfg *config, db *gorm.DB, c cache.Cacher, ps pubsub.PubSub) service.Service
- func Seed(db *gorm.DB, types ...seedTypes) error
- func TruncateDB(db *gorm.DB) error
Constants ¶
View Source
const (
SeedComplete seedTypes = "complete"
)
Variables ¶
This section is empty.
Functions ¶
func GetService ¶
func TruncateDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.