new Editor

This commit is contained in:
Lion 2022-12-01 18:11:40 +08:00
parent ae5ed74601
commit d2b81ac9a0

View File

@ -328,7 +328,7 @@ func edit() {
}
fmt.Printf("init the editor from source @ `%s` ... \n", srcFile)
editor, err := xdb.NewEditor(srcFile)
editor, err := xdb.NewEditor(srcFile, dstFile)
if err != nil {
fmt.Printf("failed to init editor: %s", err)
return