Versions in this module Expand all Collapse all v1 v1.0.0 Oct 25, 2025 Changes in this version + func CloseDatabase() + func GetDB() *badger.DB + func NewDatabase(conf *viper.Viper, logger *logger.Logger) error + type BadgerLogger struct + func (b *BadgerLogger) Debugf(format string, args ...interface{}) + func (b *BadgerLogger) Errorf(format string, args ...interface{}) + func (b *BadgerLogger) Infof(format string, args ...interface{}) + func (b *BadgerLogger) Warningf(format string, args ...interface{})