owl-blogs/domain/model/entry.go

17 lines
291 B
Go
Raw Normal View History

2023-06-25 18:04:06 +00:00
package model
import "time"
type EntryContent string
type Entry interface {
ID() string
Content() EntryContent
PublishedAt() *time.Time
MetaData() interface{}
Create(id string, content string, publishedAt *time.Time, metaData EntryMetaData) error
}
type EntryMetaData interface {
}