关于可能碰到的这个问题:

Missing 'go_package' option in "user.proto",
please specify it with the full Go package path as
a future release of protoc-gen-go will require this be specified.

先参考下以下相关链接,看是否能够解决问题哈:

https://stackoverflow.com/questions/61666805/correct-format-of-protoc-go-package
https://stackoverflow.com/questions/62048665/errors-compiling-google-fhir-proto-files-in-go

我本地暂时无法复现这个情况。