Skip to content

Getting unknown import in compiled .pb.go #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PanicIsReal opened this issue Nov 27, 2015 · 1 comment
Closed

Getting unknown import in compiled .pb.go #103

PanicIsReal opened this issue Nov 27, 2015 · 1 comment

Comments

@PanicIsReal
Copy link

I've installed protoc-gen-go following all the steps on the main page

When I compile using protoc --go_out=. *.proto I get my files that that have import google_protobuf "google/protobuf" and import _ "google/protobuf" in my files but I have no idea where to get this package or what I'm doing wrong, there's zero documentation on this issue on dev.google

The protobufs I'm compiling are located here: https://github.com/SteamRE/SteamKit/tree/master/Resources/Protobufs/csgo

@dsymonds
Copy link
Contributor

google/protobuf/descriptor.proto and friends are in https://github.com/google/protobuf, I think. #50 covers better handling of these "standard" protos; right now you have to handle them yourself.

@golang golang locked as resolved and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants