kube-plex/vendor/github.com/gogo/protobuf/test/issue260
2020-08-13 16:32:33 +08:00
..
issue260.pb.go Initial commit 2020-08-13 16:32:33 +08:00
issue260.proto Initial commit 2020-08-13 16:32:33 +08:00
issue260pb_test.go Initial commit 2020-08-13 16:32:33 +08:00
Makefile Initial commit 2020-08-13 16:32:33 +08:00
models.go Initial commit 2020-08-13 16:32:33 +08:00
README.md Initial commit 2020-08-13 16:32:33 +08: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.