LeftH0ok
LeftH0ok
thank you very much @eRadical My operating environment is php5.6 centos6.6 I do as you asked cp -r /usr/include/ffmpeg/lib* /usr/include/ ./configure --with-php-config=/usr/bin/php-config i fixed ffmpeg headers not found , then...
func main() { t2t := converter.NewTable2Struct() t2t.Config(&converter.T2tConfig{ StructNameToHump: true, **// 这里配置一下即可** }) err := t2t. SavePath("C:\\Users\\admin\\Desktop\\1.go"). Dsn("root:root@tcp(localhost:3306)/test?charset=utf8"). Run() fmt.Println(err) }
+10086 ``` CentOS Linux release 7.9.2009 (Core) Linux centos 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux yarn version v1.22.15 ```