code: func currentFormation(db *gorm.DB, app *App) (Formation, error) {
  	// Get the current release
  	current, err := releasesFind(db, ReleasesQuery{App: app})
  	if err != nil {
  		return nil, err
  	}
  	f := current.Formation
  	return f, nil
  }
docs: // currentFormations gets the current formations for an app