You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fabea4c448
* fix bug: crash when generate model with goctl. situation: column name with line. CREATE TABLE test ( id int NOT NULL AUTO_INCREMENT, zh-cn text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '中文简体', PRIMARY KEY (id) USING BTREE, ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; * group imports group imports * Use go-zero/tools/goctl/util/string.go func SafeString(in string) string { instead of ReplaceAll Co-authored-by: 方航 <fanghang@tange.ai> |
3 years ago | |
---|---|---|
.. | ||
api | 3 years ago | |
bug | 3 years ago | |
completion | 3 years ago | |
config | 3 years ago | |
docker | 3 years ago | |
env | 3 years ago | |
internal | 3 years ago | |
kube | 3 years ago | |
migrate | 3 years ago | |
model | 3 years ago | |
pkg | 3 years ago | |
plugin | 3 years ago | |
rpc | 3 years ago | |
tpl | 3 years ago | |
update | 3 years ago | |
upgrade | 3 years ago | |
util | 3 years ago | |
vars | 3 years ago | |
.gitignore | 3 years ago | |
Dockerfile | 3 years ago | |
Makefile | 3 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
goctl.go | 3 years ago | |
goctl.md | 3 years ago |