resource

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InstSuffixPath ...
	InstSuffixPath = "/inst"
	// ConfSuffixPath ...
	ConfSuffixPath = "/config"

	// ProtoPath ...
	ProtoPath = "/proto" // 协议文件路径
)

const ...

Variables

This section is empty.

Functions

func GenFileByMetadata

func GenFileByMetadata(metadata *model.Metadata) error

GenFileByMetadata ...

func GetConfTemplatePath

func GetConfTemplatePath(metadata *model.Metadata) (string, error)

GetConfTemplatePath ...

func GetInstTemplatePath

func GetInstTemplatePath(metadata *model.Metadata) (string, error)

GetInstTemplatePath ...

func GetTemplate

func GetTemplate(metadata *model.Metadata) (string, error)

GetTemplate ...

func Run

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

Run ...

func WalkPkgerFile

func WalkPkgerFile()

WalkPkgerFile ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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