You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
393 B
21 lines
393 B
4 years ago
|
package service
|
||
|
|
||
|
import (
|
||
|
pb "github.com/go-kratos/examples/blog/api/blog/v1"
|
||
|
"github.com/go-kratos/examples/blog/internal/biz"
|
||
|
|
||
|
"github.com/go-kratos/kratos/v2/log"
|
||
|
"github.com/google/wire"
|
||
|
)
|
||
|
|
||
|
// ProviderSet is service providers.
|
||
|
var ProviderSet = wire.NewSet(NewBlogService)
|
||
|
|
||
|
type BlogService struct {
|
||
|
pb.UnimplementedBlogServiceServer
|
||
|
|
||
|
log *log.Helper
|
||
|
|
||
|
article *biz.ArticleUsecase
|
||
|
}
|