mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-07 15:10:01 +08:00
17 lines
423 B
Go
17 lines
423 B
Go
package parser
|
|
|
|
// Proto describes a proto file,
|
|
type Proto struct {
|
|
Src string
|
|
Name string
|
|
Package Package
|
|
PbPackage string
|
|
GoPackage string
|
|
Import []Import
|
|
Message []Message
|
|
Service Services
|
|
// ImportedProtos holds the metadata for all transitively imported proto files.
|
|
// Populated by the generator before code generation.
|
|
ImportedProtos []ImportedProto
|
|
}
|