0x457
0x457
You made a common Spelling mistake, Handler() => Handle().

``` CREATE TABLE IF NOT EXISTS test( id int not NULL auto_increment, title VARCHAR(10) not NULL DEFAULT '', PRIMARY KEY (`id`) )engine=innodb; ``` run : esim db2entity -d saep-min -t...
esim db2entity -d saep-mini -t test {"level":"error","ts":"2020-05-19 18:08:12","msg":"A panic occurred : runtime error: invalid memory address or nil pointer dereference","caller":"db2entity/db2entity.go:155","stacktrace":"github.com/jukylin/esim/log.(*logger).Errorf\n\t/Users/bruce/go/pkg/mod/github.com/jukylin/[email protected]/log/logger.go:98\ngithub.com/jukylin/esim/tool/db2entity.(*Db2Entity).Run.func1\n\t/Users/bruce/go/pkg/mod/github.com/jukylin/[email protected]/tool/db2entity/db2entity.go:155\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:969\nruntime.panicmem\n\t/usr/local/go/src/runtime/panic.go:212\nruntime.sigpanic\n\t/usr/local/go/src/runtime/signal_unix.go:695\ngithub.com/jukylin/esim/tool/db2entity.(*Db2Entity).Run\n\t/Users/bruce/go/pkg/mod/github.com/jukylin/[email protected]/tool/db2entity/db2entity.go:171\ngithub.com/jukylin/esim/tool/cmd.glob..func1\n\t/Users/bruce/go/pkg/mod/github.com/jukylin/[email protected]/tool/cmd/db2entity.go:66\ngithub.com/spf13/cobra.(*Command).execute\n\t/Users/bruce/go/pkg/mod/github.com/spf13/[email protected]/command.go:846\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/Users/bruce/go/pkg/mod/github.com/spf13/[email protected]/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\t/Users/bruce/go/pkg/mod/github.com/spf13/[email protected]/command.go:887\ngithub.com/jukylin/esim/tool/cmd.Execute\n\t/Users/bruce/go/pkg/mod/github.com/jukylin/[email protected]/tool/cmd/root.go:34\nmain.main\n\t/Users/bruce/go/pkg/mod/github.com/jukylin/[email protected]/tool/main.go:21\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}
> 哥们,你是中国人吧!!! 我是炎黄子孙。 :)
 用esim db2entity -d saep-mini -t test生成的与原始new命令生成的不一样:结构/文件名==,另外还 有一些错误,给出了部分: /usr/local/go/src/path/filepath/match.go:13:2: could not import unicode/utf8 (invalid package name: "") /usr/local/go/src/go/token/token.go:13:2: could not import unicode/utf8 (invalid package name: "") /usr/local/go/src/encoding/json/decode.go:19:2: could not import...
肯定的
对了,还有window状态栏在vnc页面上,也看不见。