Created
November 23, 2022 07:30
-
-
Save wubin1989/71487835df46fb512f005d790e5105d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generated by go-doudou v2.0.3. | |
* You can edit it as your need. | |
*/ | |
package service | |
import ( | |
"context" | |
"go-doudou-tutorials/go-stats/config" | |
pb "go-doudou-tutorials/go-stats/transport/grpc" | |
) | |
var _ pb.GoStatsServiceServer = (*GoStatsImpl)(nil) | |
type GoStatsImpl struct { | |
pb.UnimplementedGoStatsServiceServer | |
conf *config.Config | |
} | |
func (receiver *GoStatsImpl) LargestRemainderRpc(ctx context.Context, request *pb.PercentageReqVo) (*pb.LargestRemainderRpcResponse, error) { | |
//TODO implement me | |
panic("implement me") | |
} | |
func NewGoStats(conf *config.Config) *GoStatsImpl { | |
return &GoStatsImpl{ | |
conf: conf, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment