Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Files = make([]*FileContent, 0)
)
Functions ¶
This section is empty.
Types ¶
type FileContent ¶
type Project ¶
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 InitProject ¶
func InitProject(options ...ProjectOption) *Project
type ProjectOption ¶
type ProjectOption func(*Project)
func WithProjectLogger ¶
func WithProjectLogger(logger log.Logger) ProjectOption
func WithProjectTpl ¶
func WithProjectTpl(tpl templates.Tpl) ProjectOption
func WithProjectWriter ¶
func WithProjectWriter(writer filedir.IfaceWriter) ProjectOption
Click to show internal directories.
Click to hide internal directories.