Hi, abandon
← 文章列表

go 1.18

2022年3月19日 · other / blog

go.mod 文件 go 1.17 替换为 go 1.18 interface{} 替换为 any

因为 go 当中不存在全局变量这一概念,在低版本颗要用这个方法的话,就需要每个包内都实现一个。

想聊聊这篇文章?去 GooseForum 讨论 ← 返回文章列表