ceph-csi/vendor/github.com/gogo/protobuf/test/issue260
2018-12-19 15:29:25 +01:00
..
issue260.pb.go added vendors 2018-12-19 15:29:25 +01:00
issue260.proto added vendors 2018-12-19 15:29:25 +01:00
issue260pb_test.go added vendors 2018-12-19 15:29:25 +01:00
Makefile added vendors 2018-12-19 15:29:25 +01:00
models.go added vendors 2018-12-19 15:29:25 +01:00
README.md added vendors 2018-12-19 15:29:25 +01: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.