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

Feature Request: generate comment containing foreign keys #8

Open
kokizzu opened this issue Jun 18, 2014 · 0 comments
Open

Feature Request: generate comment containing foreign keys #8

kokizzu opened this issue Jun 18, 2014 · 0 comments

Comments

@kokizzu
Copy link

kokizzu commented Jun 18, 2014

generate comment containing all foreign keys for that table, so it could be used better for programmer
example:

  struct Member {
     Id int `db:"id"`
     Name string `db:"name"`
     BillingAddressId  sql.NullInt64   `db:"billing_address_id"` // Address.id
  }
  struct Address {
    Id int `db:"id"`
    Address1 string         `db:"address_id"` 
  }
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

No branches or pull requests

1 participant