fraenky8 / tables-to-go

convert your database tables to structs easily
MIT License
233 stars 42 forks source link

Id should be all caps #12

Closed kaihendry closed 5 years ago

kaihendry commented 5 years ago

Noticed it generates:

Id   int           `db:"id"`

It should be

ID   int           `db:"id"`

For idiomatic Go IIUC