Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复mysql 生成struct 没有属性的bug #31

Closed
wants to merge 1 commit into from

Conversation

MaxJohnXiang
Copy link

cols, _ := schema.Table(db, fmt.Sprintf(tableNameFormat[sqlType], tableName))

经过调试发现 schema无法解析出 table name 样式表名, 建议去掉。

@smallnest
Copy link
Owner

谢谢, revert #23 应该解决了这个问题

@smallnest smallnest closed this Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants