22 lines
460 B
Go
22 lines
460 B
Go
|
// Code generated by goctl. DO NOT EDIT.
|
||
|
// goctl 1.8.1
|
||
|
// Source: product.proto
|
||
|
|
||
|
package server
|
||
|
|
||
|
import (
|
||
|
"code.30cm.net/digimon/app-cloudep-product-service/gen_result/pb/product"
|
||
|
"code.30cm.net/digimon/app-cloudep-product-service/internal/svc"
|
||
|
)
|
||
|
|
||
|
type ProductServer struct {
|
||
|
svcCtx *svc.ServiceContext
|
||
|
product.UnimplementedProductServer
|
||
|
}
|
||
|
|
||
|
func NewProductServer(svcCtx *svc.ServiceContext) *ProductServer {
|
||
|
return &ProductServer{
|
||
|
svcCtx: svcCtx,
|
||
|
}
|
||
|
}
|