backive/backive.go

13 lines
277 B
Go
Raw Normal View History

package backive
var config Configuration
var runs Runs
var database Database
2022-01-07 11:17:12 +01:00
// Init initializes backive with the two basic data structures required, the config, and the database
func Init(cfg Configuration, db Database) {
config = cfg
database = db
runs.Load(database)
}