package
0.29.22
Repository: https://github.com/openconfig/ygot.git
Documentation: pkg.go.dev

# Functions

New returns a new instance of the CodeGenerator struct to the calling function.
NewProtoLangMapper creates a new ProtoLangMapper instance, initialised with the default state required for code generation.

# Constants

DefaultBasePackageName defines the default base package that is generated when generating proto3 code.
DefaultEnumPackageName defines the default package name that is used for the package that defines enumerated types that are used throughout the schema.
DefaultYextPath defines the default import path for the yext.proto file, excluding the filename.
DefaultYwrapperPath defines the default import path for the ywrapper.proto file, excluding the filename.

# Structs

CodeGenerator is a structure that is used to pass arguments as to how the output protobuf code should be generated.
GeneratedCode stores a set of generated Protobuf packages.
Proto3Package stores the code for a generated protobuf3 package.
ProtoLangMapper contains the functionality and state for generating proto names for the generated code.
ProtoOpts stores Protobuf specific options for the code generation library.