Pre-release clean up.

This commit is contained in:
go-jet 2019-07-17 13:22:14 +02:00
parent 23a27033a4
commit b817f57035
27 changed files with 628 additions and 79 deletions

View file

@ -36,7 +36,7 @@ func (c ColumnInfo) SqlBuilderColumnType() string {
case "real", "numeric", "decimal", "double precision":
return "Float"
default:
fmt.Println("Unknown sql type: " + c.DataType + ", using string column instead for sql builder.")
fmt.Println("Unsupported sql type: " + c.DataType + ", using string column instead for sql builder.")
return "String"
}
}
@ -67,7 +67,7 @@ func (c ColumnInfo) GoBaseType() string {
case "uuid":
return "uuid.UUID"
default:
fmt.Println("Unknown sql type: " + c.DataType + ", " + c.EnumName + ", using string instead for model type.")
fmt.Println("Unsupported sql type: " + c.DataType + ", " + c.EnumName + ", using string instead for model type.")
return "string"
}
}