good morning!!!!

Skip to content
Snippets Groups Projects
Commit 9504c5c3 authored by Jorropo's avatar Jorropo Committed by Péter Szilágyi
Browse files

rpc: fix typo example code (#20284)

parent f8a95d99
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ An example server which uses the JSON codec: ...@@ -73,7 +73,7 @@ An example server which uses the JSON codec:
calculator := new(CalculatorService) calculator := new(CalculatorService)
server := NewServer() server := NewServer()
server.RegisterName("calculator", calculator") server.RegisterName("calculator", calculator)
l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"}) l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"})
for { for {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment