Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleAuthorRepository ¶
type ArticleReaderRepository ¶
type ArticleRepository ¶
type ArticleRepository interface { Create(ctx context.Context, art domain.Article) (int64, error) Update(ctx context.Context, art domain.Article) error }
func NewArticleRepository ¶
func NewArticleRepository(dao dao.ArticleDAO) ArticleRepository
func NewCachedArticleRepository ¶
func NewCachedArticleRepository(dao dao.ArticleDAO) ArticleRepository
type CachedArticleRepository ¶
type CachedArticleRepository struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.