proxy.golang.org : github.com/mkmik/filedescriptorset
Package filedescriptorset helps you embed protobuf descriptors, and optionally their transitive dependencies. add "-odeps.bin" to your protoc command. You can also add "--include_imports" if you want to include transitively imported descriptors. create a .go file in the same dir where protoc generates code, adding this to it: //go:generate go-bindata -modtime 1 -mode 420 -o deps.go -pkg client_model_proto3desc deps.bin func init() { filedescriptorset.MustRegisterFileSet(MustAsset("deps.bin")) }
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/mkmik/filedescriptorset
License: MIT
Latest release: over 5 years ago
First release: about 7 years ago
Namespace: github.com/mkmik
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago