> The go vet subcommand now includes the stdversion analyzer, which flags references to symbols that are too new for the version of Go in effect in the referring file. (The effective version is determined by the go directive in the file’s enclosing go.mod file, and by any //go:build constraints in the file.) > > For example, it will report a diagnostic for a reference to the reflect.TypeFor function (introduced in go1.22) from a file in a module whose go.mod file specifies go 1.21.
Go 1.23 Released
11–20 of 106 posts
Re: Go 1.23 Released
#12Opt-in telemetry. A very rare sight these days. Glad to see. Not even Mozilla does that with Firefox [1]. > Starting in Go 1.23, the Go toolchain can collect usage and breakage statistics that help the Go team understand how the Go toolchain is used and how well it is working. We refer to these statistics as Go telemetry. > Go telemetry is an opt-in system, controlled by the go telemetry command. By default, the tool…
Until they decide it to be enabled by default.
Re: Go 1.23 Released
#13I don't like the "range-over-func" addition. I feel like it is adding complexity and syntactic sugar to the language that has thus far been mostly avoided.
for key, val := range m.Range
I like that a fair bit more than
m.Range(func(key, val any) bool {
Re: Go 1.23 Released
#14Earlier quoted context omitted.
Until they decide it to be enabled by default.
Exactly. Give it a couple of releases and the default "for new installations" will be On. Two more releases and all other installs will be opted in. Classic pattern for shoveling stuff down the throat of resisting gray masses.
Re: Go 1.23 Released
#15I don't like the "range-over-func" addition. I feel like it is adding complexity and syntactic sugar to the language that has thus far been mostly avoided.
Are you talking about for key, val := range m.Range I like that a fair bit more than m.Range(func(key, val any) bool {
It's changes like this that will make Go less productive for users over time, IMO. Java-fication.
Re: Go 1.23 Released
#16Opt-in telemetry. A very rare sight these days. Glad to see. Not even Mozilla does that with Firefox [1]. > Starting in Go 1.23, the Go toolchain can collect usage and breakage statistics that help the Go team understand how the Go toolchain is used and how well it is working. We refer to these statistics as Go telemetry. > Go telemetry is an opt-in system, controlled by the go telemetry command. By default, the tool…
Because it doesn't work. o:-)
(Introduces a slant/bias to the data.)
https://twi.github.io/blog/making-go-telemetry-opt-in-is-a-m...
Re: Go 1.23 Released
#17Great job Go. Hat tip and respect for this. Unlike .Net. I will enable this where it is appropriate.
Re: Go 1.23 Released
#18Earlier quoted context omitted.
Exactly. Give it a couple of releases and the default "for new installations" will be On. Two more releases and all other installs will be opted in. Classic pattern for shoveling stuff down the throat of resisting gray masses.
At which point us, the Linux packagers and other package maintainers, is just going to patch it out. I wouldn't be very worried.
> The Go trademark and the Go Logo ( ) – collectively, the “Go Trademarks” – are trademarks of Google and are treated separately from the copyright license grants contained in the BSD-licensed Go repositories, as described below.
> Substantially unmodified distributions¶
> Substantially unmodified distributions may use the Go Trademarks if the derivative work complies with the terms of the Go programming language’s open source license and is made in a good faith attempt to replicate the quality and substance of the original project.
> Examples of modifications that would be considered substantially unmodified include language translation and localization, bug and security patches, and necessary interoperability/compatibility modifications.
> The Go Trademarks may be used in connection with such substantially unmodified distributions following the “Naming Conventions for Authorized Uses”.
> Substantially modified distributions may include explicit changes to functionality, interfaces, or features.
They can modify these trademark terms later too with a "backwards incompatible" change:
> Guideline Version¶
> These Trademark Guidelines are version 1.0 and may be followed by subsequent versions. These Guidelines may be edited for clarity; the major version will be increased when changes introduce new requirements, define new criteria, or otherwise present a backwards incompatible change.
Re: Go 1.23 Released
#19Re: Go 1.23 Released
#20Has anyone had any luck with the YT videos or courses way?