minifactroy

package
v0.0.0-...-3ce1c5e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MulanPSL-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectMinifactroy

func InjectMinifactroy(s *MiniFactroy)

func LoadMinifactroy

func LoadMinifactroy() baseiface.ISingleton

Types

type MiniFactroy

type MiniFactroy struct {
	//basedto.BaseEntitySingle
	*minidto.MiniPath
	PkgPathDto `json:"pkgPathDto"`

	InstallPath string `json:"installPath"`
}

func FindBeanMinifactroy

func FindBeanMinifactroy() *MiniFactroy

func NewMiniFactroy

func NewMiniFactroy() *MiniFactroy

func (*MiniFactroy) FindFiles

func (this *MiniFactroy) FindFiles(rootdir string, suffix string) ([]string, error)

func (*MiniFactroy) FindGomodRootDir

func (self *MiniFactroy) FindGomodRootDir() string

func (*MiniFactroy) FindMiniPath

func (self *MiniFactroy) FindMiniPath(PkgNames ...string) *minidto.MiniPath

func (*MiniFactroy) FindPkgRootDir

func (self *MiniFactroy) FindPkgRootDir() string

func (*MiniFactroy) FindPkgRootDirOf

func (self *MiniFactroy) FindPkgRootDirOf(pkgname string) string

func (*MiniFactroy) FindProjectPkgName

func (self *MiniFactroy) FindProjectPkgName() string

func (*MiniFactroy) FindProjectPkgNameSimple

func (self *MiniFactroy) FindProjectPkgNameSimple() string

func (*MiniFactroy) FindRootDir

func (self *MiniFactroy) FindRootDir() string

func (*MiniFactroy) Finds

func (self *MiniFactroy) Finds(rootdir string, suffix string) ([]string, error)

func (*MiniFactroy) InstallTo

func (self *MiniFactroy) InstallTo()

copy pkg path2app

type PkgPathDto

type PkgPathDto struct {
	MiniPathCmd         string
	MiniPathBat         string
	MiniPathConfig      string
	MiniPathData        string
	MiniPathData_output string
	MiniPathData_input  string // = "data/input"
	MiniPathWebsample   string // = "websample"
	MiniPathTest        string //= "test"
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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