sunerpy
sunerpy
linux 版本: CentOS Linux release 7.6.1810 内核版本: 3.10.0-957.el7.x86_64 k8s 版本: Kubernetes 1.23.1 部署方式:offline 主机名称 | 主机IP | 节点角色 | CPU | 内存 | 操作系统 -- | -- | -- |...
## 从mysql已有的表中生成model时不会生成长度限制么 例如有个表 t_vcenters,其中venter_ip和user_name字段都是char(60),且vcenter_ip创建了索引,但是使用gen生成的话都是longtext类型,这样无法在对应字段应用索引 生成的model如下: ```go package model const TableNameTVcenter = "t_vcenters" // TVcenter mapped from table type TVcenter struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:编号" json:"id"` // 编号 VcenterIP string `gorm:"column:vcenter_ip;comment:vcenter...
I have a problem. After I upload the settings and snippets to github on computer A, I use sync settings to download from computer B, and I find that it...