ceph-csi/vendor/github.com/gogo/protobuf/test/issue260
2019-01-14 20:15:09 +00:00
..
issue260.pb.go added vendors 2019-01-14 20:15:09 +00:00
issue260.proto added vendors 2019-01-14 20:15:09 +00:00
issue260pb_test.go added vendors 2019-01-14 20:15:09 +00:00
Makefile added vendors 2019-01-14 20:15:09 +00:00
models.go added vendors 2019-01-14 20:15:09 +00:00
README.md added vendors 2019-01-14 20:15:09 +00:00

The Bug

If in a message the following options are set:

  • typedecl false
  • go_getters false
  • marshaller true

And one of the fields is using the stdtime and nullable false extension (to use time.Time instead of the protobuf type), then an import to the time package is added even if it is not needed.