1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-21 21:27:16 +02:00
Windfarer 5546be9188
fix example (#755)
* fix example
2021-03-11 23:42:28 +08:00

21 lines
407 B
Go

package service
import (
pb "github.com/go-kratos/kratos/examples/blog/api/blog/v1"
"github.com/go-kratos/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
}