From 566cd5528faad4e0a44166126c464bcd75c5d012 Mon Sep 17 00:00:00 2001 From: AndrewZuo01 Date: Tue, 9 Jan 2024 18:20:32 +0800 Subject: [PATCH] fix callback typing --- internal/rpc/user/user.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go index 4b11d625d..641386c26 100644 --- a/internal/rpc/user/user.go +++ b/internal/rpc/user/user.go @@ -59,11 +59,6 @@ type userServer struct { RegisterCenter registry.SvcDiscoveryRegistry } -func (s *userServer) ProcessUserCommandGetAll(ctx context.Context, req *pbuser.ProcessUserCommandGetAllReq) (*pbuser.ProcessUserCommandGetAllResp, error) { - //TODO implement me - panic("implement me") -} - func Start(client registry.SvcDiscoveryRegistry, server *grpc.Server) error { rdb, err := cache.NewRedis() if err != nil { @@ -390,7 +385,6 @@ func (s *userServer) ProcessUserCommandAdd(ctx context.Context, req *pbuser.Proc return nil, err } - var value string if req.Value != nil { value = req.Value.Value