Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuravi committed Mar 2, 2017
1 parent 5c4d57b commit 3236e99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/task/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

func main() {
svc, err := service.WithModule(
"example",
"task",
task.New(newBackend),
).Build()
if err := task.Register(updateCache); err != nil {
Expand Down
4 changes: 2 additions & 2 deletions service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func main() {
"kafka",
kafka.Module("kakfa_topic1", []string{"worker"}),
).WithModule(
"keyvalue",
yarpc.New(rpc.CreateThriftServiceFunc(NewYarpcThriftHandler)),
"yarpc",
yarpc.New(yarpc.CreateThriftServiceFunc(NewYarpcThriftHandler)),
service.WithModuleRole("service"),
).Build()

Expand Down

0 comments on commit 3236e99

Please sign in to comment.