protobuf

package
v0.0.0-...-1fd9a9c Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Settings = SettingsProto{}

Settings - структура для хранения всех нужных настроек

Functions

func FindProtobufAll

func FindProtobufAll(settings SettingsProto) (types.ProtoAll, error)

FindProtobufAll - возвращает массив описания .proto файлов в формате []pbparser.ProtoFile

func FindProtobufFiles

func FindProtobufFiles(dir string) ([]string, error)

FindProtobufFiles - возвращает список файлов .proto

Types

type SettingsProto

type SettingsProto struct {
	Dir                  string
	FILTER_MESSAGE_NAME  string
	FILTER_ENUM_NAME     string
	EXCLUDE_MESSAGE_NAME string
}

Jump to

Keyboard shortcuts

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