Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 462 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 462 Bytes

gormstruct

Tool to create models and CRUD methods for PostgreSQL database which can be used with gorm.

usage

gormstruct -schema public -conn "host=localhost user=postgres dbname=postgres port=5432 sslmode=disable" -out=./model -pkg-name=model -skip-tables=db_migration,db_stats

print help:

gormstruct -h

limitations

  • does not support some arrays and user defined types
  • does not support domains