This commit is contained in:
Barnabus
2018-11-05 16:17:04 +10:00
committed by thinkerou
parent 4f488aca55
commit 7a374f9a47
7 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@ func main() {
defer conn.Close()
client := pb.NewGreeterClient(conn)
// Set up a http setver.
// Set up a http server.
r := gin.Default()
r.GET("/rest/n/:name", func(c *gin.Context) {
name := c.Param("name")