protobufgoogle.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo Index | Files

package internal_gengo

import "google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo"

Package internal_gengo is internal to the protobuf module.

Index

Variables

var GenerateVersionMarkers = true

GenerateVersionMarkers specifies whether to generate version markers.

var SupportedEditionsMaximum = editionssupport.Maximum
var SupportedEditionsMinimum = editionssupport.Minimum

SupportedFeatures reports the set of supported protobuf language features.

Functions

func GenerateFile

func GenerateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile

GenerateFile generates the contents of a .pb.go file.

With the Hybrid API, multiple files are generated (_protoopaque.pb.go variant), but only the first file (regular, not a variant) is returned.

Source Files

init.go init_opaque.go main.go opaque.go reflect.go well_known_types.go

Version
v1.36.5 (latest)
Published
Feb 6, 2025
Platform
linux/amd64
Imports
24 packages
Last checked
4 hours ago

Tools for package owners.