codegenerator

package
v2.19.1 Latest Latest
Warning

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

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

Documentation

Overview

Package codegenerator contains reusable functions used by the code generators.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRequest

func ParseRequest(r io.Reader) (*pluginpb.CodeGeneratorRequest, error)

ParseRequest parses a code generator request from a proto Message.

func SetSupportedFeaturesOnCodeGeneratorResponse added in v2.3.0

func SetSupportedFeaturesOnCodeGeneratorResponse(resp *pluginpb.CodeGeneratorResponse)

SetSupportedFeaturesOnCodeGeneratorResponse sets supported proto3 features on pluginpb.CodeGeneratorResponse.

func SetSupportedFeaturesOnPluginGen added in v2.3.0

func SetSupportedFeaturesOnPluginGen(gen *protogen.Plugin)

SetSupportedFeaturesOnPluginGen sets supported proto3 features on protogen.Plugin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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