working commit
This commit is contained in:
@@ -21,14 +21,14 @@ import (
|
||||
|
||||
type Database struct {
|
||||
datapath string
|
||||
log *logger.Logger
|
||||
logg *logger.Logger
|
||||
db *sqlx.DB
|
||||
}
|
||||
|
||||
func NewDatabase(datapath string) *Database {
|
||||
return &Database{
|
||||
datapath: datapath,
|
||||
log: logger.NewLoggerWithSubject("maindb"),
|
||||
logg: logger.NewLoggerWithSubject("maindb"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user