Skip to content

Commit dcbde63

Browse files
mouuiigitbook-bot
authored andcommitted
GITBOOK-123: No subject
1 parent 5be6fc2 commit dcbde63

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

SUMMARY.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757

5858
* [1 在 k8s 上部署应用](kai-fa-zhe-yao-dong-de-k8s/1-zai-k8s-shang-bu-shu-ying-yong.md)
5959

60-
## Group 1
60+
## k8s源码每日新闻
6161

62-
* [k8s 源码每日新闻](group-1/k8s-yuan-ma-mei-ri-xin-wen.md)
63-
* [2024-9-13](group-1/2024-9-13.md)
62+
* [2024-9-13](k8s-yuan-ma-mei-ri-xin-wen/2024-9-13.md)

group-1/2024-9-13.md

-5
This file was deleted.

group-1/k8s-yuan-ma-mei-ri-xin-wen.md

-2
This file was deleted.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# 2024-9-13
2+
3+
今天我看到一个 pr ,k8s 将go版本从 1.22 升级到 1.23,pr如下:
4+
5+
## [Update go.mod for go 1.23](https://github.com/kubernetes/kubernetes/pull/127271#top)[#update-go.mod-for-go-1.23-127271](2024-9-13.md#update-go.mod-for-go-1.23-127271 "mention")
6+
7+
很多人问go语言和其他语言相比有什么优势,其实go的版本升级向前兼容性非常好,大家写项目时候可以无脑升级,基本不会遇到什么问题!
8+
9+
我们在这个 pr 中还看到添加了 `godebug default=go1.23` ,这东西有什么用?
10+
11+
我看了这篇文章 [https://juejin.cn/post/7350581011263389736](https://juejin.cn/post/7350581011263389736) 了解到,其实就是 go.mod 文件中的 go 行不再和 GODEBUG 强绑定,拆了一个新的 godebug 语义和用法出来,两者独立开来,不再在兼容性机制上重叠。
12+
13+
go 提案地址:[https://github.com/golang/go/issues/65573](https://github.com/golang/go/issues/65573)

0 commit comments

Comments
 (0)