Files
kubernetes/cmd/libs/go2idl/go-to-protobuf/protobuf/generator.go
Clayton Coleman 68bfba29b9 Allow proto tag to define field name
When we introduce a new field for backwards compatibility, we may want
to specify a different protobuf field name (one that matches JSON) than
the automatic transformation applied to the struct field. This allows an
API field to define the name of its protobuf tag.
2016-07-11 22:14:20 -04:00

20 KiB