100-go-mistakes/2-code-project-organization/8-empty-interface/store/after.go
2021-12-27 15:56:17 +01:00

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
}