code: func Delete(id int) error {
  	for k, v := range accounts {
  		if id == v.ID {
  			accounts = append(accounts[:k], accounts[k+1:]...)
  			return nil
  		}
  	}
  	return fmt.Errorf("account id=%d is not found", id)
  }
docs: // Delete example