gormstruct

command module
v0.0.0-...-6fba9c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 20 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL