Talking about Go 1.16, this is a release to be excited about. Here are some of my personal highlights:

- fs.FS interface. This should make a bunch of filesystem operations agnostic to the underlying storage service.

- Clean up of 'go get' vs 'go install'

- Embedding files into binaries
- Smaller binaries
- Faster linking
- darwin/arm64 support

Find more exciting changes here: golang.org/doc/go1.16

@fribbledom

"Note that Go 1.16 requires use of Go modules by default, now that, according to our 2020 Go Developer Survey, 96% of Go developers have made the switch. We recently added official documentation for developing and publishing modules."

Ohh no, I liked the old import much better 😢

@openscience

I'm honestly curious: what do you dislike about Go Modules? Note that you can still force Go to operate within its GOPATH by setting $GO111MODULE to off.

Follow

@fribbledom

I liked the simplicity. Everything was just there. There is no intermediate layer.

And versioning was also possible through a simple snapshot and submodules.

Indeed, I recognize the potential benefits of the new system. Perhaps there is some nostalgia of the early days. 🙌 😂

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!