From ccd8bacc2156872b10a33fa447255fca69922c50 Mon Sep 17 00:00:00 2001 From: Go101 <22589241+go101@users.noreply.github.com> Date: Tue, 31 Dec 2024 23:36:07 +0800 Subject: [PATCH] update some book main and update pages --- pages/apps-and-libs/golds.html | 2 +- pages/apps-and-libs/golds.tmd | 2 +- pages/details-and-tips/100-updates.html | 10 ++++++++-- pages/details-and-tips/100-updates.md | 8 ++++++-- pages/details-and-tips/101.html | 2 +- pages/generics/100-updates.html | 6 ++++++ pages/generics/100-updates.md | 4 ++++ pages/optimizations/100-updates.html | 7 +++++++ pages/optimizations/100-updates.md | 5 +++++ 9 files changed, 39 insertions(+), 7 deletions(-) diff --git a/pages/apps-and-libs/golds.html b/pages/apps-and-libs/golds.html index 9b700a33..4f6a9807 100644 --- a/pages/apps-and-libs/golds.html +++ b/pages/apps-and-libs/golds.html @@ -9,7 +9,7 @@
GOEXPERIMENT=arenas golds -gen -nouses -only-list-exporteds -render-doclinks -theme=dark std
).
+Demo: docs and source code of standard packages (generated with GOEXPERIMENT=arenas,synctest golds -gen -nouses -only-list-exporteds -render-doclinks -theme=dark std
).
for {...}
and for true {...}
are not always equivalent to each other" detail.N
function in the Go 1.22 introduced math/rand/v2
standard package provides much convenience in some scenarios"-The book is Go 1.23 ready now (update history). +The book is Go 1.24 ready now (update history).
diff --git a/pages/generics/100-updates.html b/pages/generics/100-updates.html index 79d8ae2f..f7e3405e 100644 --- a/pages/generics/100-updates.html +++ b/pages/generics/100-updates.html @@ -1,6 +1,12 @@