Skip to content

Commit

Permalink
grpc-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
weirubo committed Sep 25, 2021
1 parent 1472d38 commit 9ed9730
Show file tree
Hide file tree
Showing 8 changed files with 645 additions and 75 deletions.
2 changes: 1 addition & 1 deletion lesson07/grpc-server/dao/toDoList.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
pb "lesson07/grpc-server/pb/todoPb"
)

func Add(ctx context.Context, in *pb.ToDoListContent) (int64, error) {
func Add(ctx context.Context, in *pb.ToDoListDetail) (int64, error) {
err := eg.Sync2(new(pb.ToDoListDetail))
if err != nil {
return 0, err
Expand Down
253 changes: 193 additions & 60 deletions lesson07/grpc-server/pb/todoPb/toDoList.pb.go

Large diffs are not rendered by default.

50 changes: 43 additions & 7 deletions lesson07/grpc-server/pb/todoPb/toDoList_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

249 changes: 249 additions & 0 deletions lesson07/grpc-server/pb/todoPb/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9ed9730

Please sign in to comment.