Browse Source

Fix doc re. getters for proto3, i.e. getters are now generated on all fields (#354)

Herbie Ong 9 years ago
parent
commit
7b8002443f
2 changed files with 0 additions and 2 deletions
  1. 0 1
      README.md
  2. 0 1
      proto/lib.go

+ 0 - 1
README.md

@@ -104,7 +104,6 @@ for a protocol buffer variable v:
 When the .proto file specifies `syntax="proto3"`, there are some differences:
 
   - Non-repeated fields of non-message type are values instead of pointers.
-  - Getters are only generated for message and oneof fields.
   - Enum types do not get an Enum method.
 
 Consider file test.proto, containing

+ 0 - 1
proto/lib.go

@@ -73,7 +73,6 @@ for a protocol buffer variable v:
 When the .proto file specifies `syntax="proto3"`, there are some differences:
 
   - Non-repeated fields of non-message type are values instead of pointers.
-  - Getters are only generated for message and oneof fields.
   - Enum types do not get an Enum method.
 
 The simplest way to describe this is to see an example.