utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToProtoFilesMap

toProtoFilesMap creates a map of file names to their corresponding FileDescriptorProto objects from a CodeGeneratorRequest. This map can be used to quickly access file descriptors by their names.

Parameters: req - A pointer to a CodeGeneratorRequest which contains the list of Proto files.

Returns: A map where the keys are file names and the values are pointers to FileDescriptorProto objects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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