Merge branch 'master' into ip

This commit is contained in:
Bo-Yi Wu 2018-06-22 23:45:05 +08:00 committed by GitHub
commit 6ccae1fcde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ func main() {
// Contact the server and print out its response.
req := &pb.HelloRequest{Name: name}
res, err := client.SayHello(g, req)
res, err := client.SayHello(c, req)
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{
"error": err.Error(),