Skip to content

Commit aad7f95

Browse files
authored
Merge pull request #1166 from muhammadsammy/patch-1
Wrap code in 03.2.md (en) with code block syntax
2 parents 2573ebd + 00bbefb commit aad7f95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

en/03.2.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ We've discussed that web applications are based on the HTTP protocol, and Go pro
44

55
## Use http package setup a web server
66

7+
```go
78
package main
89

910
import (
@@ -33,6 +34,7 @@ We've discussed that web applications are based on the HTTP protocol, and Go pro
3334
log.Fatal("ListenAndServe: ", err)
3435
}
3536
}
37+
```
3638

3739
After we execute the above code, the server begins listening to port 9090 in local host.
3840

0 commit comments

Comments
 (0)