ctx

package
v1.0.12-0...-16f252f Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoMod

type GoMod struct {
	Module string
}

type Project

type Project struct {
	Path  string
	Name  string
	GoMod GoMod
}

type RpcContext

type RpcContext struct {
	ProjectPath  string
	ProjectName  stringx.String
	ServiceName  stringx.String
	CurrentPath  string
	Module       string
	ProtoFileSrc string
	ProtoSource  string
	TargetDir    string
	console.Console
}

func MustCreateRpcContext

func MustCreateRpcContext(protoSrc, targetDir, serviceName string, idea bool) *RpcContext

func MustCreateRpcContextFromCli

func MustCreateRpcContextFromCli(ctx *cli.Context) *RpcContext

Jump to

Keyboard shortcuts

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