Skip to content

Commit

Permalink
update some book main and update pages
Browse files Browse the repository at this point in the history
  • Loading branch information
zigo101 committed Dec 31, 2024
1 parent 54ebe1c commit ccd8bac
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages/apps-and-libs/golds.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 class="tmd-header-1">
<ul class="tmd-list">
<li class="tmd-list-item">
<div class="tmd-usual">
Demo: <a href="https://docs.go101.org/index.html">docs and source code of standard packages</a> (generated with <code class="tmd-code-span">GOEXPERIMENT=arenas golds -gen -nouses -only-list-exporteds -render-doclinks -theme=dark std</code>).
Demo: <a href="https://docs.go101.org/index.html">docs and source code of standard packages</a> (generated with <code class="tmd-code-span">GOEXPERIMENT=arenas,synctest golds -gen -nouses -only-list-exporteds -render-doclinks -theme=dark std</code>).
</div>
</li>
<li class="tmd-list-item">
Expand Down
2 changes: 1 addition & 1 deletion pages/apps-and-libs/golds.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
a Go docs generator, and a Go code reader.

- Demo: __docs and source code of standard packages__
(generated with `GOEXPERIMENT=arenas golds -gen -nouses -only-list-exporteds -render-doclinks -theme=dark std`).
(generated with `GOEXPERIMENT=arenas,synctest golds -gen -nouses -only-list-exporteds -render-doclinks -theme=dark std`).
- Code is __hosted on Github__. Any feedback, including PR and bug reports, are welcome.
- Please follow __@zigo_101__ to get the latest news of **%% Golds %%**
(and all kinds of Go details/facts/tips/etc.).
Expand Down
10 changes: 8 additions & 2 deletions pages/details-and-tips/100-updates.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
<p id="f-100-updates-md"></p>
<h1>Go Details &amp; Tips 101 Update History</h1>

<h3>v1.24.a (2024/Dec/16)</h3>

<ul>
<li>&quot;</li>
</ul>

<h3>v1.23.a (2024/Oct/16)</h3>

<ul>
<li>&quot;Syntax and Semantics Related&quot; chapter:
<li>&quot;Standard and User Packages Related&quot; chapter:

<ul>
<li>add a &quot;<code>for {...}</code> and <code>for true {...}</code> are not always equivalent to each other&quot; detail.</li>
<li>add &quot;The <code>N</code> function in the Go 1.22 introduced <code>math/rand/v2</code> standard package provides much convenience in some scenarios&quot;</li>
</ul></li>
</ul>

Expand Down
8 changes: 6 additions & 2 deletions pages/details-and-tips/100-updates.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@

# Go Details & Tips 101 Update History

### v1.24.a (2024/Dec/16)

* "

### v1.23.a (2024/Oct/16)

* "Syntax and Semantics Related" chapter:
* add a "`for {...}` and `for true {...}` are not always equivalent to each other" detail.
* "Standard and User Packages Related" chapter:
* add "The `N` function in the Go 1.22 introduced `math/rand/v2` standard package provides much convenience in some scenarios"

### v1.22.a (2024/Mar/18)

Expand Down
2 changes: 1 addition & 1 deletion pages/details-and-tips/101.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ul>

<p>
The book is Go 1.23 ready now (<a href="100-updates.html">update history</a>).
The book is Go 1.24 ready now (<a href="100-updates.html">update history</a>).
</p>

<p><small><i>
Expand Down
6 changes: 6 additions & 0 deletions pages/generics/100-updates.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<p id="f-100-updates-md"></p>
<h1>Go Generics 101 Update History</h1>

<h3>v1.24.a (2023/Dec/23)</h3>

<ul>
<li>mention generic type aliases are supported since Go 1.24.</li>
</ul>

<h3>v1.21.a (2023/Oct/11)</h3>

<ul>
Expand Down
4 changes: 4 additions & 0 deletions pages/generics/100-updates.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# Go Generics 101 Update History

### v1.24.a (2023/Dec/23)

* mention generic type aliases are supported since Go 1.24.

### v1.21.a (2023/Oct/11)

* add examples for type inference enhancements made in Go 1.21.
Expand Down
7 changes: 7 additions & 0 deletions pages/optimizations/100-updates.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<p id="f-100-updates-md"></p>
<h1>Go Optimizations 101 Update History</h1>

<h3>v1.24.a (2024/Dec/16)</h3>

<ul>
<li>The &quot;BCE (Bound Check Elimination)&quot; chapter is modified according Go toolchain go1.24rc1.</li>
<li>In &quot;Stack and Escape Analysis&quot; chapter, some thresholds are modified according Go toolchain go1.24rc1.</li>
</ul>

<h3>v1.23.a (2024/Oct/16)</h3>

<ul>
Expand Down
5 changes: 5 additions & 0 deletions pages/optimizations/100-updates.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

# Go Optimizations 101 Update History

### v1.24.a (2024/Dec/16)

* The "BCE (Bound Check Elimination)" chapter is modified according Go toolchain go1.24rc1.
* In "Stack and Escape Analysis" chapter, some thresholds are modified according Go toolchain go1.24rc1.

### v1.23.a (2024/Oct/16)

* The "BCE (Bound Check Elimination)" chapter is modified according https://github.com/golang/go/issues/40704
Expand Down

0 comments on commit ccd8bac

Please sign in to comment.