Skip to content

waynegerard/GORMGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

GORM generator

Basic idea

If you have an existing database, manually typing out structs for all of your tables kinda sucks. These structs are mostly a lot of boilerplate code, so generating them by reading the table information makes sense to me.

Limitations

Postgres only

I've only tested this with postgres.

Super limited column types

The column types are pretty limited, just based on what I've encountered in my own tables.

No customization

No custom PK columns, etc. right now

TODO

  • Example code
  • Better initialization
  • Column maps need to get cleaned up

About

Generates structs for GORM based on existing tables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages