package sample

type Client interface {
	Save(item string) error
	Load(id string) (string, error)
}

type Service struct {
	client Client
}

func (s Service) Save(item string) error {
	return s.client.Save(item)
}

func (s Service) Load(id string) (string, error) {
	return s.client.Load(id)
}