go 1.18
Coding
2022-03-19 12:21:24
go.mod 文件 go 1.17 替换为 go 1.18
interface{} 替换为 any
因为 go 当中不存在全局变量这一概念,在低版本颗要用这个方法的话,就需要每个包内都实现一个。