Documentation ¶
Index ¶
- func ToDBArticleFromAdminArticleInput(input *adminmodel.ArticleMutationInput) dbmodel.Article
- func ToGQLAdminArticleConnectionFromDBArticles(inputs []*dbmodel.Article, totalCount, limit, offset int) *adminmodel.ArticleConnection
- func ToGQLAdminArticleFromDBArticle(input *dbmodel.Article) *adminmodel.Article
- func ToGQLViewerArticleConnectionFromDBArticles(inputs []*dbmodel.Article, totalCount, limit, offset int) *viewermodel.ArticleConnection
- func ToGQLViewerArticleFromDBArticle(input *dbmodel.Article) *viewermodel.Article
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToDBArticleFromAdminArticleInput ¶
func ToDBArticleFromAdminArticleInput(input *adminmodel.ArticleMutationInput) dbmodel.Article
func ToGQLAdminArticleConnectionFromDBArticles ¶
func ToGQLAdminArticleConnectionFromDBArticles(inputs []*dbmodel.Article, totalCount, limit, offset int) *adminmodel.ArticleConnection
func ToGQLAdminArticleFromDBArticle ¶
func ToGQLAdminArticleFromDBArticle(input *dbmodel.Article) *adminmodel.Article
func ToGQLViewerArticleConnectionFromDBArticles ¶
func ToGQLViewerArticleConnectionFromDBArticles(inputs []*dbmodel.Article, totalCount, limit, offset int) *viewermodel.ArticleConnection
func ToGQLViewerArticleFromDBArticle ¶
func ToGQLViewerArticleFromDBArticle(input *dbmodel.Article) *viewermodel.Article
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.