瀏覽代碼

fixed the hello world string

silviucm 9 年之前
父節點
當前提交
f5adebdd97
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      frameworks/Go/fasthttp-postgresql/src/hello/hello.go

+ 1 - 2
frameworks/Go/fasthttp-postgresql/src/hello/hello.go

@@ -103,8 +103,7 @@ func mainHandler(ctx *fasthttp.RequestCtx) {
 
 // Test 1: JSON serialization
 func jsonHandler(ctx *fasthttp.RequestCtx) {
-	//jsonMarshal(ctx, &Message{helloWorldString})
-	jsonMarshal(ctx, &Message{largerJson})
+	jsonMarshal(ctx, &Message{helloWorldString})
 }
 
 // Test 2: Single database query