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 @@ +