cmdbaseutils

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MulanPSL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NOW_PKG_DOMAIN       = "gitee.com/leijmdas/goweb/domain"
	NOW_PKG_CODE         = "gitee.com/leijmdas/goweb/code"
	NOW_PKG_GORPC        = "gitee.com/leijmdas/goweb/gorpc"
	NOW_PKG_GONATSSAMPLE = "gitee.com/leijmdas/goweb/gonatssample"
)
View Source
const NOW_PKG = "gitee.com/leijmdas/goweb"
View Source
const NOW_PKG_CMD = "gitee.com/leijmdas/goweb/cmd/goweb"
View Source
const NOW_PKG_SIMPLE = "goweb"

Variables

This section is empty.

Functions

func InjectCmdUtils

func InjectCmdUtils(s *CmdUtils)

func LoadCmdUtils

func LoadCmdUtils() baseiface.ISingleton

Types

type BaseUtils

type BaseUtils struct {
	*CmdUtils
	NowPkg        string
	WebSimplePath string
}

func NewBaseUtils

func NewBaseUtils() *BaseUtils

func (*BaseUtils) FindFiles

func (self *BaseUtils) FindFiles() ([]string, error)

func (*BaseUtils) ReplaceAllPkg

func (self *BaseUtils) ReplaceAllPkg()

type CmdUtils

type CmdUtils struct {
	basedto.BaseEntitySingle
	// contains filtered or unexported fields
}

func FindBeanCmdUtils

func FindBeanCmdUtils() *CmdUtils

func NewCmdUtils

func NewCmdUtils() *CmdUtils

func (*CmdUtils) FindFiles

func (self *CmdUtils) FindFiles() ([]string, error)

func (*CmdUtils) FindGoFiles

func (this *CmdUtils) FindGoFiles(dirPath string) ([]string, error)

func (*CmdUtils) MoveCmdDirGoweb

func (self *CmdUtils) MoveCmdDirGoweb()

func (*CmdUtils) ReplaceCmdAll

func (self *CmdUtils) ReplaceCmdAll()

func (*CmdUtils) ReplaceCmdBatGoweb

func (self *CmdUtils) ReplaceCmdBatGoweb() error

func (*CmdUtils) ReplaceCmdGoinstallWebcli

func (self *CmdUtils) ReplaceCmdGoinstallWebcli()

func (*CmdUtils) ReplacePkgCmd2New

func (self *CmdUtils) ReplacePkgCmd2New()

Jump to

Keyboard shortcuts

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