Skip to content

Conversation

NM666
Copy link
Contributor

@NM666 NM666 commented Jun 15, 2023

What did this pull request do?

  1. append the onlyModel in tools/gentool/gen.yml
  2. fix a table name input bug

User Case Description

set tableList content in cmdline, looks like this: "users, orgs "
then you get the users.gen.go, orgs .gen.go(filename with a space in the first and last) after generate execution.

@NM666 NM666 changed the title FIX: input tablename whith space FIX: input tablename with space Jun 15, 2023
@jinzhu jinzhu merged commit 26a5b93 into go-gorm:master Aug 2, 2023
jeepc pushed a commit to jeepc/gen that referenced this pull request Nov 20, 2023
* ADD: onlyModel in gen.yml

* FIX: tableName with leading and trailing space

---------

Co-authored-by: Unauthorized <nieming@modao.cc>
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.

2 participants