Files
crockery/internal/store/store.go
2018-03-05 12:19:04 +00:00

22 lines
299 B
Go

package store
import (
"context"
)
type Interface interface {
Domain() string
}
func New(ctx context.Context, filename string) (Interface, error) {
return &concrete{domain: "example.com"}, nil
}
type concrete struct {
domain string
}
func (c *concrete) Domain() string {
return c.domain
}