command - ActiveState ActiveGo 1.8
...

Package command

import "github.com/gogo/protobuf/vanity/command"
Overview
Index

Overview ▾

func Generate

func Generate(req *plugin.CodeGeneratorRequest) *plugin.CodeGeneratorResponse

func GeneratePlugin

func GeneratePlugin(req *plugin.CodeGeneratorRequest, p generator.Plugin, filenameSuffix string) *plugin.CodeGeneratorResponse

filenameSuffix replaces the .pb.go at the end of each filename.

func Read

func Read() *plugin.CodeGeneratorRequest

func Write

func Write(resp *plugin.CodeGeneratorResponse)