diff --git a/docs/20-slice.md b/docs/20-slice.md index a2e4d89..2421e40 100644 --- a/docs/20-slice.md +++ b/docs/20-slice.md @@ -1,5 +1,6 @@ --- title: Not understanding slice length and capacity (#20) +comments: true --- # Not understanding slice length and capacity diff --git a/docs/28-maps-memory-leaks.md b/docs/28-maps-memory-leaks.md index 30ed3bf..6b72def 100644 --- a/docs/28-maps-memory-leaks.md +++ b/docs/28-maps-memory-leaks.md @@ -1,5 +1,6 @@ --- title: Maps and memory leaks (#28) +comments: true --- # Maps and memory leaks diff --git a/docs/89-benchmarks.md b/docs/89-benchmarks.md index db5d6f7..e4f024a 100644 --- a/docs/89-benchmarks.md +++ b/docs/89-benchmarks.md @@ -1,5 +1,6 @@ --- title: Writing inaccurate benchmarks (#89) +comments: true --- # Writing inaccurate benchmarks diff --git a/docs/98-profiling-execution-tracing.md b/docs/98-profiling-execution-tracing.md index 197b755..88561bf 100644 --- a/docs/98-profiling-execution-tracing.md +++ b/docs/98-profiling-execution-tracing.md @@ -1,5 +1,6 @@ --- title: Not using Go diagnostics tooling (#98) +comments: true --- # Not using Go diagnostics tooling diff --git a/docs/index.md b/docs/index.md index a47fb8a..fc3d9c1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,7 @@ +--- +comments: true +--- + # Common Go Mistakes This page is a summary of all the mistakes in the 100 Go Mistakes book. Meanwhile, it's also a page open to the community. If you believe that a mistake should be added, please create a [community mistake issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=). diff --git a/docs/zh.md b/docs/zh.md index 58eddd1..2edf7bf 100644 --- a/docs/zh.md +++ b/docs/zh.md @@ -1,5 +1,6 @@ --- title: Chinese (Simplified) Version +comments: true --- # 100个Go常见错误及如何避免 diff --git a/site/20-slice/index.html b/site/20-slice/index.html index de42ba9..ff5d2ed 100644 --- a/site/20-slice/index.html +++ b/site/20-slice/index.html @@ -923,6 +923,59 @@ +

Comments

+ + + + + diff --git a/site/28-maps-memory-leaks/index.html b/site/28-maps-memory-leaks/index.html index fc7fc68..d60d7d8 100644 --- a/site/28-maps-memory-leaks/index.html +++ b/site/28-maps-memory-leaks/index.html @@ -934,6 +934,59 @@ +

Comments

+ + + + + diff --git a/site/89-benchmarks/index.html b/site/89-benchmarks/index.html index 1259850..84a9bda 100644 --- a/site/89-benchmarks/index.html +++ b/site/89-benchmarks/index.html @@ -1207,6 +1207,59 @@ +

Comments

+ + + + + diff --git a/site/98-profiling-execution-tracing/index.html b/site/98-profiling-execution-tracing/index.html index 0f030e5..ba44570 100644 --- a/site/98-profiling-execution-tracing/index.html +++ b/site/98-profiling-execution-tracing/index.html @@ -1241,6 +1241,59 @@ world” is executed, which occupies the four CPU cores for approximately 40 ms. +

Comments

+ + + + + diff --git a/site/index.html b/site/index.html index e8423e0..6e8d485 100644 --- a/site/index.html +++ b/site/index.html @@ -4161,6 +4161,59 @@ the use case. However, we should see the two options as complementary.

+

Comments

+ + + + + diff --git a/site/sitemap.xml.gz b/site/sitemap.xml.gz index 63c9673..91662bc 100644 Binary files a/site/sitemap.xml.gz and b/site/sitemap.xml.gz differ diff --git a/site/zh/index.html b/site/zh/index.html index 39bbb7f..21d32ce 100644 --- a/site/zh/index.html +++ b/site/zh/index.html @@ -2904,6 +2904,59 @@ +

Comments

+ + + + +