goland
make database to struct
copy your Generate POJOs.groovy to you goland
1. choose one table, Right click (on Windows),choose the "Scripted Extentions" -> "Go to Script Directory"
2. Open this directory in Explore. Back up the origional "Generate POJOs.groovy". Replace it with your downloaded file.
3. Choose a DATATABLE, Right Click ," Scripted Extentions" -> Generate POJOs.groovy!
1、选择一个表,右键-》"Scripted Extentions" -> "Go to Script Directory"
2、打开一个编辑页面,使用本pojos.groovy 替换 GOLAND里的文件
3、选择一个表,右键-》" Scripted Extentions" -> Generate POJOs.groovy!
已经可以正常生成GO版本的struct model文件了