From 41d6630bdd716f4c97a93e676732374245899b8c Mon Sep 17 00:00:00 2001
From: Mark McGranaghan
Date: Fri, 31 May 2019 12:18:58 -0700
Subject: [PATCH] Normalize code fragment typography
Per convention, code fragments get monotype and methods in the text
don't get parens or parameters.
---
examples/http-clients/http-clients.go | 8 ++++----
examples/http-clients/http-clients.hash | 4 ++--
public/http-clients | 10 +++++-----
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/examples/http-clients/http-clients.go b/examples/http-clients/http-clients.go
index b1e6db2..56be133 100644
--- a/examples/http-clients/http-clients.go
+++ b/examples/http-clients/http-clients.go
@@ -12,10 +12,10 @@ import (
func main() {
- // Issue an HTTP GET request to a server. http.Get is a
- // convenient shortcut around creating an http.Client
- // object and calling its Get() method; it uses the
- // http.DefaultClient object which has useful default
+ // Issue an HTTP GET request to a server. `http.Get` is a
+ // convenient shortcut around creating an `http.Client`
+ // object and calling its `Get` method; it uses the
+ // `http.DefaultClient` object which has useful default
// settings.
resp, err := http.Get("http://gobyexample.com")
if err != nil {
diff --git a/examples/http-clients/http-clients.hash b/examples/http-clients/http-clients.hash
index 3057f1d..e550dd5 100644
--- a/examples/http-clients/http-clients.hash
+++ b/examples/http-clients/http-clients.hash
@@ -1,2 +1,2 @@
-84f4d5d6264837f07a84c27a09f14e429e8daf94
-HDsvgdX4tGg
+ec8fd69aa19e54a7ea05d2a911f09d3a98f0396c
+VxYIifr_UuH
diff --git a/public/http-clients b/public/http-clients
index 5e482e4..21779dd 100644
--- a/public/http-clients
+++ b/public/http-clients
@@ -20,7 +20,7 @@ HTTP requests.
-
+
@@ -57,10 +57,10 @@ HTTP requests.
|
- Issue an HTTP GET request to a server. http.Get is a
-convenient shortcut around creating an http.Client
-object and calling its Get() method; it uses the
-http.DefaultClient object which has useful default
+ Issue an HTTP GET request to a server. http.Get is a
+convenient shortcut around creating an http.Client
+object and calling its Get method; it uses the
+http.DefaultClient object which has useful default
settings.
|