Skip to content

Conversation

@happilymarrieddad
Copy link

Hey guys,

I'm adding 3 new options for the struct creator.

  1. Xorm support - this creates the necessary function for passing directly into a xorm query along with primary key and auto increment support.
  2. Base Tables - Only build structs from base tables.. at my work we use a lot of views along with base tables and it's annoying for the tool to create structs based on the views.
  3. Ignore nullables - working on a 3rd version of our app and it's nice to have the structs built from another DB when this app doesn't necessarily want sql.Nullable* in the structs.

All three options are false by default so it shouldn't affect anyone currently using the creator.

Thanks!

  • Nick

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.

1 participant