[go-nuts] Small language change for additional type safety (Go2?)

2022-08-01 Thread Andrew Phillips
Just thought I'd run this one by you... I used to often forget to specify the 2nd variable in a for-range: sum := "" for v := range []string{"1", "2", "3"} { sum += v } luckilly (or because Go is so good at type safety) this generates the error: invalid operation: sum += v

[go-nuts] [security] Go 1.18.5 and Go 1.17.13 are released

2022-08-01 Thread announce
Hello gophers, We have just released Go versions 1.18.5 and 1.17.13, minor point releases. These minor releases include 1 security fixes following the security policy : - encoding/gob & math/big: decoding big.Float and big.Rat can panic Decoding big.Float