mirror of
https://github.com/teivah/100-go-mistakes.git
synced 2026-06-21 00:47:11 +08:00
17 lines
348 B
Go
17 lines
348 B
Go
package store
|
|
|
|
func (s *Store) GetContract(id string) (Contract, error) {
|
|
return Contract{}, nil
|
|
}
|
|
|
|
func (s *Store) SetContract(id string, contract Contract) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *Store) GetCustomer(id string) (Customer, error) {
|
|
return Customer{}, nil
|
|
}
|
|
|
|
func (s *Store) SetCustomer(id string, customer Customer) error {
|
|
return nil
|
|
}
|