struct-create
struct-create copied to clipboard
Feature Request: generate comment containing foreign keys
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"`
}