bootstrap

package
v0.0.0-...-ff8dc85 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YAFGO_REPO_GITHUB = "https://github.com/yafgo/yafgo.git"
	YAFGO_REPO_GITEE  = "https://gitee.com/yafgo/yafgo.git"
)
View Source
const (
	GORAVEL_REPO_GITHUB = "https://github.com/goravel/goravel.git"
)

Variables

This section is empty.

Functions

func Boot

func Boot()

Types

type Tpl

type Tpl interface {
	MakeProject(name string) error
}

Tpl 项目模板

type TplGoravel

type TplGoravel struct {
	// contains filtered or unexported fields
}

func (*TplGoravel) MakeProject

func (rp *TplGoravel) MakeProject(name string) (err error)

MakeProject

name: like "github.com/you/project" or "my_project"

type TplYafgo

type TplYafgo struct {
	// contains filtered or unexported fields
}

func (*TplYafgo) MakeProject

func (rp *TplYafgo) MakeProject(name string) (err error)

MakeProject

name: like "github.com/you/project" or "my_project"

Jump to

Keyboard shortcuts

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