Browse Source

fixed the hello world string

silviucm 9 years ago
parent
commit
f5adebdd97
1 changed files with 1 additions and 2 deletions
  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
 // Test 1: JSON serialization
 func jsonHandler(ctx *fasthttp.RequestCtx) {
 func jsonHandler(ctx *fasthttp.RequestCtx) {
-	//jsonMarshal(ctx, &Message{helloWorldString})
-	jsonMarshal(ctx, &Message{largerJson})
+	jsonMarshal(ctx, &Message{helloWorldString})
 }
 }
 
 
 // Test 2: Single database query
 // Test 2: Single database query