code: func (c *Controller) AddAccount(ctx *gin.Context) {
  	var addAccount model.AddAccount
  	if err := ctx.ShouldBindJSON(&addAccount); err != nil {
  		httputil.NewError(ctx, http.StatusBadRequest, err)
  		return
  	}
  	if err := addAccount.Validation(); err != nil {
  		httputil.NewError(ctx, http.StatusBadRequest, err)
  		return
  	}
  	account := model.Account{
  		Name: addAccount.Name,
  	}
  	lastID, err := account.Insert()
  	if err != nil {
  		httputil.NewError(ctx, http.StatusBadRequest, err)
  		return
  	}
  	account.ID = lastID
  	ctx.JSON(http.StatusOK, account)
  }
docs: // AddAccount godoc
  // @Summary Add a account
  // @Description add by json account
  // @Tags accounts
  // @Accept  json
  // @Produce  json
  // @Param account body model.AddAccount true "Add account"
  // @Success 200 {object} model.Account
  // @Failure 400 {object} httputil.HTTPError
  // @Failure 404 {object} httputil.HTTPError
  // @Failure 500 {object} httputil.HTTPError
  // @Router /accounts [post]