1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-27 21:49:08 +02:00

21 lines
393 B
Go
Raw Normal View History

2021-03-05 23:49:25 +08:00
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
}