Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleService ¶
type ArticleService struct {
Logger *zap.SugaredLogger
ImagePath string
GitHubToken string
}
func NewArticleService ¶
func NewArticleService( logger *zap.SugaredLogger, imagePath string, githubToken string, ) ArticleService
func (ArticleService) ExportArticle ¶
func (as ArticleService) ExportArticle(article *model.Article, id string) error
func (ArticleService) IssueToArticle ¶
type Service ¶
type Service struct {
ArticleService
}
func NewService ¶
func NewService( logger *zap.SugaredLogger, imagePath string, githubToken string, ) Service
Click to show internal directories.
Click to hide internal directories.