cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

* Copyright © 2017 Xiao Zhang <zzxx513@gmail.com>. * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file.

* Copyright © 2017 Xiao Zhang <zzxx513@gmail.com>. * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file.

* Copyright © 2017 Xiao Zhang <zzxx513@gmail.com>. * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

View Source
var FilePaths []string

FilePaths is a list of paths to proto files

View Source
var FileRootPath string

FileRootPath is the root folder of the created package, "." by default(current directory)

View Source
var RootCmd = &cobra.Command{
	Use:     "turbo",
	Version: "v0.5.0",
}

RootCmd represents the base command when called without any subcommands

View Source
var RpcType string

RpcType should be either "grpc" or "thrift"

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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