add 'DEFAULT NULL' to point

添加默认值为null 转换成指针类型
This commit is contained in:
谢小军
2020-06-23 12:10:08 +08:00
parent 19b39a0b41
commit 0706dd0747
9 changed files with 39 additions and 27 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func TestTypeName(t *testing.T) {
fmt.Println(getTypeName("tinyint"))
fmt.Println(getTypeName("tinyint", true))
}
func TestTools(t *testing.T) {