codegenerator

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 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

func SetSupportedFeaturesOnCodeGeneratorResponse(resp *pluginpb.CodeGeneratorResponse)

SetSupportedFeaturesOnCodeGeneratorResponse sets supported proto3 features on pluginpb.CodeGeneratorResponse.

func SetSupportedFeaturesOnPluginGen

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