new Editor
This commit is contained in:
parent
ae5ed74601
commit
d2b81ac9a0
|
|
@ -328,7 +328,7 @@ func edit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("init the editor from source @ `%s` ... \n", srcFile)
|
fmt.Printf("init the editor from source @ `%s` ... \n", srcFile)
|
||||||
editor, err := xdb.NewEditor(srcFile)
|
editor, err := xdb.NewEditor(srcFile, dstFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("failed to init editor: %s", err)
|
fmt.Printf("failed to init editor: %s", err)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue