gen

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WorkingDir string

	Version string
)

Functions

func Gen

func Gen(_ *cobra.Command, _ []string) error

func GetApiServiceName added in v0.16.0

func GetApiServiceName(apiDirName string) string

func GetMainApiFilePath added in v0.15.5

func GetMainApiFilePath(apiDirName string) string

func GetProtoDir

func GetProtoDir(wd string) ([]os.DirEntry, error)

func GetProtoFilenames

func GetProtoFilenames(wd string) ([]string, error)

Types

type ImportLines

type ImportLines []string

func (ImportLines) String

func (l ImportLines) String() string

type RegisterLines

type RegisterLines []string

func (RegisterLines) String

func (l RegisterLines) String() string

Jump to

Keyboard shortcuts

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