mirror of
https://github.com/lionsoul2014/ip2region.git
synced 2025-12-08 19:25:22 +00:00
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)
|
||||
editor, err := xdb.NewEditor(srcFile)
|
||||
editor, err := xdb.NewEditor(srcFile, dstFile)
|
||||
if err != nil {
|
||||
fmt.Printf("failed to init editor: %s", err)
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user