Initial commit

This commit is contained in:
2018-03-05 12:19:04 +00:00
commit 811b90224f
114 changed files with 16465 additions and 0 deletions

21
internal/store/store.go Normal file
View File

@@ -0,0 +1,21 @@
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
}