com

package
v0.0.0-...-1b4415c Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFrom

func ReadFrom(r io.Reader) (*plugin.CodeGeneratorRequest, error)

ReadFrom is 入力からバイナリを読み込んでプロトコルバッファへ

func WriteTo

func WriteTo(res *plugin.CodeGeneratorResponse, w io.Writer) error

WriteTo is プロトコルバッファを出力へ書き込み

Types

type Option

type Option struct {
	GenClient  bool
	ClientType string
	Nonull     bool
	DupArray   bool
}

Option is コマンドライン引数

func ParseArgument

func ParseArgument(req *plugin.CodeGeneratorRequest) Option

ParseArgument is 渡されたパラメータをいい加減に解析

Jump to

Keyboard shortcuts

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