Documentation ¶
Index ¶
- Constants
- func AddPackageToMainGo(projectName, mainPath, packageName string)
- func AssertNotEmpty(name string, value any)
- func CheckModified() bool
- func ExecBuild(config *Config) (*exec.Cmd, error)
- func ExecRun(config *Config) *exec.Cmd
- func GetApplicationYml(customConfig bool) string
- func GetBanner() string
- func GetCreateDoneMessage(projectName string) string
- func GetDemoControllerGo(projectName string, packageName string) string
- func GetDemoInitGo(projectName string, packageName string) string
- func GetDemoModelGo(projectName string, packageName string) string
- func GetGSJson(projectName string, customConfig bool) string
- func GetGitIgnore() string
- func GetGoMod(projectName string) string
- func GetMainGo(projectName string, customConfig bool) string
- func GetPath(paths ...string) string
- func GetUtilsConfigGo(projectName string) string
- func Input(hint string) string
- func IsWindows() bool
- func Mkdir(path string)
- func PrintE(err error)
- func Read(path string) string
- func Save(path string, data string)
- func ThrowE(err error)
- func ThrowS(msg string, args ...any)
- func WaitExecBuild(config *Config) error
- func WaitExecRun(config *Config)
- func WaitKillProcess(command *exec.Cmd)
- type AppConfig
- type Config
Constants ¶
View Source
const ShortVersion = "v1.2.3"
View Source
const Version = "v1.2.3 Victory Knight"
Variables ¶
This section is empty.
Functions ¶
func AddPackageToMainGo ¶ added in v1.2.2
func AddPackageToMainGo(projectName, mainPath, packageName string)
func AssertNotEmpty ¶
func CheckModified ¶ added in v1.2.2
func CheckModified() bool
func GetApplicationYml ¶
func GetCreateDoneMessage ¶ added in v1.2.2
func GetDemoControllerGo ¶
func GetDemoInitGo ¶ added in v1.2.2
func GetDemoModelGo ¶
func GetGitIgnore ¶
func GetGitIgnore() string
func GetUtilsConfigGo ¶
func WaitExecBuild ¶ added in v1.2.2
func WaitExecRun ¶ added in v1.2.2
func WaitExecRun(config *Config)
func WaitKillProcess ¶ added in v1.2.2
Types ¶
Click to show internal directories.
Click to hide internal directories.