code: func (db *DB) Indexes() ([]string, error) {
  	var names []string
  	var err = db.View(func(tx *Tx) error {
  		var err error
  		names, err = tx.Indexes()
  		return err
  	})
  	return names, err
  }
docs: // Indexes returns a list of index names.
  //
  // Deprecated: Use Transactions