...

Package internal_gengo

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

Overview ▾

Package internal_gengo is internal to the protobuf module.

Variables

GenerateVersionMarkers specifies whether to generate version markers.

var GenerateVersionMarkers = true

SupportedFeatures reports the set of supported protobuf language features.

var SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL)

func GenerateFile

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

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