Skip to content

Commit b194248

Browse files
authored
errata update (#6)
1 parent 6a18ab4 commit b194248

203 files changed

Lines changed: 29403 additions & 29205 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.hugo_build.lock
2-
*/server
1+
.hugo_build.lock
2+
*/server

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Source for https://practicalgobook.net
2-
3-
Hugo + go:embed magic - checkout the [GopherCon 2021 lightning talk](https://www.youtube.com/watch?v=y6VnTM1f2cc)
4-
5-
## Infrastructure
6-
7-
AWS Route 53 - DNS Record -> Linode instance -> Caddy (443) -> Go server (8080)
8-
1+
# Source for https://practicalgobook.net
2+
3+
Hugo + go:embed magic - checkout the [GopherCon 2021 lightning talk](https://www.youtube.com/watch?v=y6VnTM1f2cc)
4+
5+
## Infrastructure
6+
7+
AWS Route 53 - DNS Record -> Linode instance -> Caddy (443) -> Go server (8080)
8+

archetypes/default.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
---
2-
title: "{{ replace .Name "-" " " | title }}"
3-
date: {{ .Date }}
4-
draft: true
5-
---
6-
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

backup/archetypes/default.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
---
2-
title: "{{ replace .Name "-" " " | title }}"
3-
date: {{ .Date }}
4-
draft: true
5-
---
6-
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

backup/config.toml

Lines changed: 124 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,124 @@
1-
baseURL = 'https://practicalgobook.net'
2-
languageCode = 'en-us'
3-
title = "Practical Go - Building Scalable Network and Non-network Applications"
4-
5-
# Default Theme
6-
theme= "gruvhugo"
7-
8-
# Default Post Extension
9-
defaultExtension= "html"
10-
11-
# Default metadata format for newly created frontmatter using
12-
# hugo new command. "toml", "yaml", or "json"
13-
metaDataFormat= "yaml"
14-
15-
[taxonomies]
16-
tag = "tags"
17-
category = "categories"
18-
series = "series"
19-
20-
[params.main]
21-
enabled = true
22-
enableKatex = true
23-
metaKeywords = "fast, hugo, theme, minimal, gruvbox"
24-
headerTitle = "Practical Go - Building Scalable Network and Non-Network Applications"
25-
copyright = "© 2021 Amit Saha. <a href=\"https://creativecommons.org/licenses/by/4.0/\">Some rights reserved</a>."
26-
name = ""
27-
img = "img/book_cover.png"
28-
img_title = "Book Cover"
29-
icon = "img/logo.png"
30-
quote = "Patterns to implement robust command line, HTTP and gRPC applications in Go"
31-
description= "Online resources for the book, Practical Go, written by Amit Saha and published by Wiley"
32-
licenseUrl = ""
33-
34-
# Social icons
35-
36-
[[params.social]]
37-
name = "email"
38-
url = "mailto:mail@practicalgobook.net"
39-
40-
[[params.social]]
41-
name = "twitter"
42-
url = "https://twitter.com/practicalgo"
43-
44-
[[params.social]]
45-
name = "github"
46-
url = "https://github.com/practicalgo"
47-
48-
[params.style]
49-
# add path to custom CSS files here
50-
custom_css = []
51-
# add path to custom SCSS files here
52-
custom_scss = []
53-
54-
[menu]
55-
[[menu.main]]
56-
identifier = "about"
57-
name = "About"
58-
url = "about"
59-
60-
[[menu.main]]
61-
identifier = "posts"
62-
name = "Posts"
63-
url = "post/"
64-
65-
[markup]
66-
defaultMarkdownHandler = "goldmark"
67-
[markup.asciidocExt]
68-
backend = "html5"
69-
docType = "article"
70-
extensions = []
71-
failureLevel = "fatal"
72-
noHeaderOrFooter = true
73-
safeMode = "unsafe"
74-
sectionNumbers = false
75-
trace = false
76-
verbose = true
77-
workingFolderCurrent = false
78-
[markup.asciidocExt.attributes]
79-
[markup.blackFriday]
80-
angledQuotes = false
81-
footnoteAnchorPrefix = ""
82-
footnoteReturnLinkContents = ""
83-
fractions = true
84-
hrefTargetBlank = false
85-
latexDashes = true
86-
nofollowLinks = false
87-
noreferrerLinks = false
88-
plainIDAnchors = true
89-
skipHTML = false
90-
smartDashes = true
91-
smartypants = true
92-
smartypantsQuotesNBSP = false
93-
taskLists = true
94-
[markup.goldmark]
95-
[markup.goldmark.extensions]
96-
definitionList = true
97-
footnote = true
98-
linkify = true
99-
strikethrough = true
100-
table = true
101-
taskList = true
102-
typographer = true
103-
[markup.goldmark.parser]
104-
attribute = true
105-
autoHeadingID = true
106-
autoHeadingIDType = "github"
107-
[markup.goldmark.renderer]
108-
hardWraps = false
109-
unsafe = false
110-
xhtml = false
111-
[markup.highlight]
112-
codeFences = true
113-
guessSyntax = false
114-
hl_Lines = ""
115-
lineNoStart = 1
116-
lineNos = false
117-
lineNumbersInTable = true
118-
noClasses = true
119-
style = "monokai"
120-
tabWidth = 4
121-
[markup.tableOfContents]
122-
endLevel = 3
123-
ordered = false
124-
startLevel = 2
1+
baseURL = 'https://practicalgobook.net'
2+
languageCode = 'en-us'
3+
title = "Practical Go - Building Scalable Network and Non-network Applications"
4+
5+
# Default Theme
6+
theme= "gruvhugo"
7+
8+
# Default Post Extension
9+
defaultExtension= "html"
10+
11+
# Default metadata format for newly created frontmatter using
12+
# hugo new command. "toml", "yaml", or "json"
13+
metaDataFormat= "yaml"
14+
15+
[taxonomies]
16+
tag = "tags"
17+
category = "categories"
18+
series = "series"
19+
20+
[params.main]
21+
enabled = true
22+
enableKatex = true
23+
metaKeywords = "fast, hugo, theme, minimal, gruvbox"
24+
headerTitle = "Practical Go - Building Scalable Network and Non-Network Applications"
25+
copyright = "© 2021 Amit Saha. <a href=\"https://creativecommons.org/licenses/by/4.0/\">Some rights reserved</a>."
26+
name = ""
27+
img = "img/book_cover.png"
28+
img_title = "Book Cover"
29+
icon = "img/logo.png"
30+
quote = "Patterns to implement robust command line, HTTP and gRPC applications in Go"
31+
description= "Online resources for the book, Practical Go, written by Amit Saha and published by Wiley"
32+
licenseUrl = ""
33+
34+
# Social icons
35+
36+
[[params.social]]
37+
name = "email"
38+
url = "mailto:mail@practicalgobook.net"
39+
40+
[[params.social]]
41+
name = "twitter"
42+
url = "https://twitter.com/practicalgo"
43+
44+
[[params.social]]
45+
name = "github"
46+
url = "https://github.com/practicalgo"
47+
48+
[params.style]
49+
# add path to custom CSS files here
50+
custom_css = []
51+
# add path to custom SCSS files here
52+
custom_scss = []
53+
54+
[menu]
55+
[[menu.main]]
56+
identifier = "about"
57+
name = "About"
58+
url = "about"
59+
60+
[[menu.main]]
61+
identifier = "posts"
62+
name = "Posts"
63+
url = "post/"
64+
65+
[markup]
66+
defaultMarkdownHandler = "goldmark"
67+
[markup.asciidocExt]
68+
backend = "html5"
69+
docType = "article"
70+
extensions = []
71+
failureLevel = "fatal"
72+
noHeaderOrFooter = true
73+
safeMode = "unsafe"
74+
sectionNumbers = false
75+
trace = false
76+
verbose = true
77+
workingFolderCurrent = false
78+
[markup.asciidocExt.attributes]
79+
[markup.blackFriday]
80+
angledQuotes = false
81+
footnoteAnchorPrefix = ""
82+
footnoteReturnLinkContents = ""
83+
fractions = true
84+
hrefTargetBlank = false
85+
latexDashes = true
86+
nofollowLinks = false
87+
noreferrerLinks = false
88+
plainIDAnchors = true
89+
skipHTML = false
90+
smartDashes = true
91+
smartypants = true
92+
smartypantsQuotesNBSP = false
93+
taskLists = true
94+
[markup.goldmark]
95+
[markup.goldmark.extensions]
96+
definitionList = true
97+
footnote = true
98+
linkify = true
99+
strikethrough = true
100+
table = true
101+
taskList = true
102+
typographer = true
103+
[markup.goldmark.parser]
104+
attribute = true
105+
autoHeadingID = true
106+
autoHeadingIDType = "github"
107+
[markup.goldmark.renderer]
108+
hardWraps = false
109+
unsafe = false
110+
xhtml = false
111+
[markup.highlight]
112+
codeFences = true
113+
guessSyntax = false
114+
hl_Lines = ""
115+
lineNoStart = 1
116+
lineNos = false
117+
lineNumbersInTable = true
118+
noClasses = true
119+
style = "monokai"
120+
tabWidth = 4
121+
[markup.tableOfContents]
122+
endLevel = 3
123+
ordered = false
124+
startLevel = 2

backup/content/about.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
---
2-
title: "About"
3-
date: 2021-09-14T05:06:44Z
4-
---
5-
6-
Hi there, this is book website.
1+
---
2+
title: "About"
3+
date: 2021-09-14T05:06:44Z
4+
---
5+
6+
Hi there, this is book website.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
---
2-
title: "Hello World"
3-
date: 2021-09-14T05:06:44Z
4-
---
5-
6-
Hi there!
1+
---
2+
title: "Hello World"
3+
date: 2021-09-14T05:06:44Z
4+
---
5+
6+
Hi there!

backup/issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/grpc/grpc-go/issues/1719
1+
https://github.com/grpc/grpc-go/issues/1719

backup/links.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
https://stripe.com/blog/canonical-log-lines
2-
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions
1+
https://stripe.com/blog/canonical-log-lines
2+
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions

0 commit comments

Comments
 (0)