mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-12-24 10:40:55 +08:00
fix: sql or protobuf name cannot use the suffix _test
This commit is contained in:
@@ -130,10 +130,3 @@ func closeDB(db *gorm.DB) {
|
||||
}
|
||||
_ = sqlDB.Close()
|
||||
}
|
||||
|
||||
func printString(fields []*PGField) {
|
||||
fmt.Printf("%-20v %-20v %-20v %-20v %-20v %-20v\n", "Name", "Type", "Length", "Lengthvar", "Notnull", "Comment")
|
||||
for _, p := range fields {
|
||||
fmt.Printf("%-20v %-20v %-20v %-20v %-20v %-20v\n", p.Name, p.Type, p.Length, p.Lengthvar, p.Notnull, p.Comment)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user