protobuf-go/internal/encoding/defval
Joe Tsai c9899da4d5 internal/encoding/defval: unify logic for handling default values
Logic for serializing the default value in textual form exists in
multiple places in trivially similar forms. Centralize that logic.

Change-Id: I4408ddfeef2c0dfa5c7468e01a4d4df5654ae57f
Reviewed-on: https://go-review.googlesource.com/c/153022
Reviewed-by: Herbie Ong <herbie@google.com>
2018-12-07 22:40:20 +00:00
..
default_test.go internal/encoding/defval: unify logic for handling default values 2018-12-07 22:40:20 +00:00
default.go internal/encoding/defval: unify logic for handling default values 2018-12-07 22:40:20 +00:00