newsbot-portal/internal/models/articles.go

13 lines
238 B
Go

package models
import "git.jamestombleson.com/jtom38/newsbot-api/domain"
type ListArticlesViewModel struct {
Items []ListArticleSourceModel
}
type ListArticleSourceModel struct {
Article domain.ArticleDto
Source domain.SourceDto
}