func setEquipHandler(request *http.Request, resp http.ResponseWriter, user *models.Account, p Parameter) { form := p.(setEquipForm) err := user.SetEquip(form.Equips) writeResponse(request.RequestURI, resp, map[string]interface{}{"ExpEffect": Awards{}}, err) }