code: func apps(db *gorm.DB, scope scope) ([]*App, error) {
  	var apps []*App
  	// Default to ordering by name.
  	scope = composedScope{order("name"), scope}
  	return apps, find(db, scope, &apps)
  }
docs: // apps finds all apps matching the scope.