add

package
v0.0.0-...-2f2c2f3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdAppServiceAdd = &cobra.Command{
	Use:   "add",
	Short: "add a app service",
	Long:  "add a app service using the repository template. Example: mars app add helloworld",
	Run:   Add,
}

Functions

func Add

func Add(cmd *cobra.Command, args []string)

Types

type Proto

type Proto struct {
	Name        string
	Path        string
	Service     string
	Package     string
	GoPackage   string
	JavaPackage string
}

Proto is a proto generator.

func (*Proto) Generate

func (p *Proto) Generate() error

Generate generate a proto template.

type ServiceAdd

type ServiceAdd struct {
	*app_base.App
}
var Service ServiceAdd

Jump to

Keyboard shortcuts

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