Wrap code in 03.2.md (en) with code block syntax

This commit is contained in:
Muhammad Sammy
2021-05-04 17:25:16 +02:00
committed by GitHub
parent 2573ebdb67
commit 00bbefb6f0

View File

@@ -4,6 +4,7 @@ We've discussed that web applications are based on the HTTP protocol, and Go pro
## Use http package setup a web server
```go
package main
import (
@@ -33,6 +34,7 @@ We've discussed that web applications are based on the HTTP protocol, and Go pro
log.Fatal("ListenAndServe: ", err)
}
}
```
After we execute the above code, the server begins listening to port 9090 in local host.