Go1.21发布
golang每隔6个月发布一个新的次版本号升级。一般是是2月一个版本,8月一个版本 语言层面 增加内置函数 min() max() 参考 https://tip.golang.org/ref/spec#Min_and_max The built-in functions min and max compute the smallest—or largest, respectively—value of a fixed number of arguments of ordered types. There must be at least one argument. The same type rules as for operators apply: for ordered arguments x and y, min(x, y) is valid if x + y is valid, and the type of min(x, y) is the type of x + y (and similarly for max)....