model

package
v0.0.0-...-e120e2b Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use: "model",
}
View Source
var Env = struct {
	Gopath string
	YcHome string
}{}

Functions

This section is empty.

Types

type UpdateCommand

type UpdateCommand struct {
	WorkDir        string
	ModelOutputDir string
	ProtoFile      string

	// golang
	Go bool

	// c-sharp
	CSharp               bool
	CSharpModelNamespace string
	CSharpBaseNamespace  string
}

func (*UpdateCommand) BeforeRun

func (t *UpdateCommand) BeforeRun(cmd *cobra.Command)

func (*UpdateCommand) InitFlag

func (t *UpdateCommand) InitFlag(cmd *cobra.Command)

func (*UpdateCommand) Prepare

func (t *UpdateCommand) Prepare(cmd *cobra.Command)

func (*UpdateCommand) Run

func (t *UpdateCommand) Run()

Jump to

Keyboard shortcuts

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