codegenerator

package
Version: v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: BSD-3-Clause Imports: 6 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL