Example #1
0
func (r *AccountRepository) Update(account *core.Account) error {
	_, err := dat.Update(r, account.ID(), account)
	if err != nil {
		log.Printf("Error updating account: %s", err)
	}

	return err
}