Skip to content

Commit 00bbefb

Browse files
Wrap code in 03.2.md (en) with code block syntax
1 parent 2573ebd commit 00bbefb

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)