1. 程式人生 > >Go 1/2 Proposal: Immutable Types

Go 1/2 Proposal: Immutable Types

Hey guys, I just published the Go 1.x / Go 2.x proposal to "Immutable Types" that I've been working on for the past month and it's now official:

https://github.com/golang/go/issues/27975

Please be sure to check it out and feel free to join the conversation! Even if this feature is never introduced to the language specification - reading the design document will make you a better Go developer, that I guarantee!

original design document: https://github.com/romshark/Go-1-2-Proposal---Immutability