code: func hapiAdmins(w http.ResponseWriter, r *http.Request) {
  	if os.Getenv("ABOT_ENV") != "test" {
  		if !isAdmin(w, r) {
  			return
  		}
  		if !isLoggedIn(w, r) {
  			return
  		}
  	}
  	var admins []struct {
  		ID    uint64
  		Name  string
  		Email string
  	}
  	q := `SELECT id, name, email FROM users WHERE admin=TRUE`
  	err := db.Select(&admins, q)
  	if err != nil && err != sql.ErrNoRows {
  		writeErrorInternal(w, err)
  		return
  	}
  	b, err := json.Marshal(admins)
  	if err != nil {
  		writeErrorInternal(w, err)
  		return
  	}
  	_, err = w.Write(b)
  	if err != nil {
  		log.Info("failed to write response.", err)
  	}
  }
docs: // hapiAdmins returns a list of all admins with the training and manage team
  // permissions.