diff --git a/en/03.2.md b/en/03.2.md index b111db94..66b8b988 100644 --- a/en/03.2.md +++ b/en/03.2.md @@ -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.