Holy cheese my untyped composite literal proposal from 2015 just got accepted. #golang github.com/golang/go/is...
proposal: spec: type inferred composite literals · Issue #12854 · golang/go
Composite literals construct values for structs, arrays, slices, and maps. They consist of a type followed by a brace-bound list of elements. e.g., x := []string{"a", "b", "c"} I propose adding unt...
github.com