Skip to content

krhubert/gormstruct

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages