From d1886245ba9b17ee0f71af7a9a2ad7e8a7e0ed96 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Tue, 4 Jun 2019 07:50:21 -0700 Subject: [PATCH] Presentation tweaks --- examples/http-servers/http-servers.go | 2 +- examples/http-servers/http-servers.hash | 4 ++-- examples/http-servers/http-servers.sh | 2 +- public/http-servers | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/http-servers/http-servers.go b/examples/http-servers/http-servers.go index 7556b2d..72726b4 100644 --- a/examples/http-servers/http-servers.go +++ b/examples/http-servers/http-servers.go @@ -1,4 +1,4 @@ -// Writing a basic HTTP server is very easy using the +// Writing a basic HTTP server is easy using the // `net/http` package. package main diff --git a/examples/http-servers/http-servers.hash b/examples/http-servers/http-servers.hash index fe3b07d..6a0a323 100644 --- a/examples/http-servers/http-servers.hash +++ b/examples/http-servers/http-servers.hash @@ -1,2 +1,2 @@ -cc9a1fd34b3735d59f0972af21a26aabfff660c8 -FVQG_jryhVF +ac2909e69be30862bd9f18db954d9ee10f57ec6a +8GBAW6yNcbn diff --git a/examples/http-servers/http-servers.sh b/examples/http-servers/http-servers.sh index dcb9a42..2db5f45 100644 --- a/examples/http-servers/http-servers.sh +++ b/examples/http-servers/http-servers.sh @@ -1,5 +1,5 @@ # Run the server in the background. -$ go run examples/http-servers/http-servers.go & +$ go run http-servers.go & # Access the `/hello` route. $ curl localhost:8090/hello diff --git a/public/http-servers b/public/http-servers index d084f5a..958ddc3 100644 --- a/public/http-servers +++ b/public/http-servers @@ -13,12 +13,12 @@ -

Writing a basic HTTP server is very easy using the +

Writing a basic HTTP server is easy using the net/http package.

- +
package main
 
@@ -163,7 +163,7 @@ router we’ve just set up.

-
$ go run examples/http-servers/http-servers.go &
+            
$ go run http-servers.go &