func GetEntryDB(db *Database, key string) (string, error) {
	value := ""
	err := db.BoltDB.View(func(tx *bolt.Tx) error {
		b := tx.Bucket([]byte(db.Bucket))
		v := b.Get([]byte(key))
		value = string(v)
		return nil
	})
	if err != nil {
		return "", err
	}
	return value, err
}
// GetEntryDB reads a key-value pair from the Bolt Database Bucket,
// given the key.
GetEntryDB reads a key-value pair from the Bolt Database Bucket,
given the key.
// GetEntryDB reads a key - value pair from the Bolt Database Bucket // given the key .
func GetEntryDB(db *Database, key string) (string, error) {
	value := ""
	err := db.BoltDB.View(func(tx *bolt.Tx) error {
		b := tx.Bucket([]byte(db.Bucket))
		v := b.Get([]byte(key))
		value = string(v)
		return nil
	})
	if err != nil {
		return "", err
	}
	return value, err
}
func GetEntryDB ( db * Database , key string ) ( string , error ) { value := " " err := db . BoltDB . View ( func ( tx * bolt . Tx ) error { b := tx . Bucket ( [ ] byte ( db . Bucket ) ) v := b . Get ( [ ] byte ( key ) ) value = string ( v ) return nil } ) if err != nil { return " " , err } return value , err }
GetEntryDB reads a key-value pair from the Bolt Database Bucket,
given the key.
GetEntryDB reads a key - value pair from the Bolt Database Bucket given the key .