package
0.0.0-20240515134008-560e072f64ae
Repository: https://github.com/igorsteps/easypark.git
Documentation: pkg.go.dev
# Functions
NewDatabaseFromConfig creates our database from config.
NewGormLogrusLogger initializes and returns a new instance of GormLogrusLogger.
NewGormWrapper creates a new GormWrapper instance.
# Structs
GormLogrusLogger is a Logrus logger that implements GORM's logger interface.
GormWrapper wraps a gorm.DB connection to implement the datastore.Datastore interface.