Which means that we can now use 1.18 features, as per our policy. Generics ahoy.
main fails to build on Go 1.19 in my tests with the following error.
# github.com/lucas-clemente/quic-go/internal/qtls C:\...\go\pkg\mod\github.com\lucas-clemente\firstname.lastname@example.org\internal\qtls\go119.go:6:13: cannot use "The version of quic-go you're using can't be built on Go 1.19 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.19 yet. F...) as int value in variable declaration
Also, when trying to run
go install github.com/syncthing/syncthing/cmd/stsigtool@latest
go: github.com/syncthing/syncthing/cmd/stsigtool@latest (in email@example.com): The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module.
Not sure whether this is important or not though.
I fixed that yesterday, you probably need to pull.