refactor: 整理结构和 maker 构建方式
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package maker
|
||||
|
||||
type maker struct{}
|
||||
|
||||
func NewMaker() *maker {
|
||||
return &maker{}
|
||||
type maker struct {
|
||||
workdir string
|
||||
}
|
||||
|
||||
func NewMaker(workdir string) *maker {
|
||||
return &maker{workdir: workdir}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user