Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 19, 2018. It is now read-only.

Conversation

@AmandaCameron
Copy link
Contributor

This short-circuits the type parsing so that when it hits an element named "SQLName" it will automatically tack the tags parsed for that onto the parent type. This allows us to apply tags to the struct.

Additionally, this implements the following behaviour on the schema gen:

  • if skip: true is in the tag, it will skip that field for name concatation. ( To allow fully-naming the fields of a column in the struct.)

An example / test case of this has been retrofitted into the demo/users.go file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant