Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleService ¶
type ArticleService struct {
// contains filtered or unexported fields
}
func (*ArticleService) GetCategories ¶
func (svc *ArticleService) GetCategories(_ context.Context) (*articlePb.GetCategoriesResponse, error)
type ArticleServicer ¶
type ArticleServicer interface {
GetCategories(context.Context) (*articlePb.GetCategoriesResponse, error)
}
func NewArticleService ¶
func NewArticleService(db *sql.DB) ArticleServicer
Click to show internal directories.
Click to hide internal directories.