code: func NewDB(path string) (*DB, error) {
  	db := &DB{}
  
  	valid, err := db.initBolt(path)
  	if valid && err == nil {
  		return db, nil
  	}
  
  	if !valid {
  		log.Print("DB schema version is incorrect. Clearing db")
  	}
  
  	err = os.Remove(path)
  	if err != nil {
  		return nil, fmt.Errorf("Unable to remove db! Please manually remove %s",
  			path)
  	}
  
  	valid, err = db.initBolt(path)
  	if err != nil {
  		return nil, err
  	}
  
  	if !valid {
  		return nil, fmt.Errorf("Fatal error initializing db schema version")
  	}
  
  	return db, nil
  }
docs: // NewDB creates a new db or opens an existing db at the given path.
  // If the db already exists but has a mismatched version, it will be cleared
  // before being returned.