protoparser

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package protoparser is responsible for parsing .proto files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileDescriptorsFromPaths

func FileDescriptorsFromPaths(importPaths []string, protoFiles []string) ([]*desc.FileDescriptor, error)

FileDescriptorsFromPaths loads the file descriptors for each .proto file in protoFiles. It attempts to infer imports in the .proto files from the file paths in importPaths

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL