code: func (a Account) Update() error {
  	for k, v := range accounts {
  		if a.ID == v.ID {
  			accounts[k].Name = a.Name
  			return nil
  		}
  	}
  	return fmt.Errorf("account id=%d is not found", a.ID)
  }
docs: // Update example