owl-blogs/domain/model/entry.go

17 lines
275 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{}
2023-07-06 16:56:43 +00:00
Create(id string, publishedAt *time.Time, metaData EntryMetaData) error
2023-06-25 18:04:06 +00:00
}
type EntryMetaData interface {
}