Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Files = make([]*FileContent, 0)
)
Functions ¶
Types ¶
type FileContent ¶
type Project ¶ added in v0.0.5
type Project struct {
ServerName string
PackageName string
RunTrans []string
ProPath string
ImportServer []string
SingleMark string
//"true" or "false"
Monitoring string
// contains filtered or unexported fields
}
Project
func NewProject ¶ added in v0.0.5
func NewProject(options ...ProjectOption) *Project
type ProjectOption ¶ added in v0.0.7
type ProjectOption func(*Project)
func WithProjectLogger ¶ added in v0.0.7
func WithProjectLogger(logger logger.Logger) ProjectOption
func WithProjectTpl ¶ added in v0.0.7
func WithProjectTpl(tpl templates.Tpl) ProjectOption
func WithProjectWriter ¶ added in v0.0.7
func WithProjectWriter(writer file_dir.IfaceWriter) ProjectOption
Click to show internal directories.
Click to hide internal directories.