new Editor
This commit is contained in:
parent
cf3e12f3ef
commit
b7650f764c
|
|
@ -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