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

19 lines
246 B
Go

package store
type Customer struct {
// Some fields
}
type Contract struct {
// Some fields
}
type Store struct{}
func (s *Store) Get(id string) (any, error) {
return nil, nil
}
func (s *Store) Set(id string, v any) error {
return nil
}