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.
kratos/examples/blog/internal/service/service.go

21 lines
407 B

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
}