Closed GoogleCodeExporter closed 9 years ago
I think it's pretty unlikely we'll do this. We added getters because
it was a massive pain (and error prone to boot) to deal with fields
with default values. Here, though, it's relatively easy to cope with
nested fields. It's not super-common to be partially constructing
messages, so the best options are using composite literals or doing
the trivial nil checks. Adding MutableFoo helpers would just be a
massive amount of code bloat for relatively little gain.
Original comment by dsymo...@golang.org
on 18 Dec 2012 at 11:46
Original comment by dsymo...@golang.org
on 18 Dec 2012 at 11:46
Original issue reported on code.google.com by
y...@hjfreyer.com
on 18 Dec 2012 at 2:15