func UnLock() { if locked == false { return } if log.IsEnabled() { log.Info("df.DBDef", "...Unlocking the singleton world of the DB definition!") } locked = false }
func Lock() { if locked { return } if log.IsEnabled() { log.Info("df.DBDef", "...Locking the singleton world of the DB definition!") } locked = true }