|
func (a articleRepository) GetAll(ctx context.Context) ([]models.Article, error) {
|
|
func (a articleRepository) GetAll(ctx context.Context) ([]models.Article, error) {
|
|
query, args, err := sq.Select("id", "url", "publish_time", "title", "image", "text", "preview_text", "meta_keywords", "meta_desc", "is_active").
|
|
query, args, err := sq.Select("id", "url", "publish_time", "title", "image", "text", "preview_text", "meta_keywords", "meta_desc", "is_active").
|