yoheimuta / go-protoparser

Yet another Go package which parses a Protocol Buffer file (proto2+proto3)
MIT License
166 stars 20 forks source link

[gosec-G307] fix gosec issue in example #74

Closed geraldywy closed 1 year ago

geraldywy commented 1 year ago

tldr; I am using this project and its failing my CI build due to an issue raised by gosec G307. I know I can exclude the example dir from the CI check, but for reasons more than one, it is much simpler to fix the example here directly.