genna
genna copied to clipboard
Model generator for go-pg package
golangci-lint has found several real issues and a number of minor ones. I split them into small patches to make the review easier.
Hello, I am trying to map a third-party postres 9.5 database with more than 22000 (yes, twenty-two thousands) tables. My goal is to fetch some data in my Go application....
For a very large existing database, it will make more sense if the generated structs are not all lumped into one single `models.go` file, but instead, written out as separate...
I have a schema and relationship defined as follows: Table chat_event: `id (bigint)` Table message: ``` id (bigint) id_chat_event (bigint, fk, uq, nn) ``` So a chat_event Belongs To a...
Hello, I have two tables with one composite foreign key referring to another The simplified pg schema is ``` Table "public.accounts" Column | Type | Collation | Nullable | Default...
Bumps mellium.im/sasl from 0.2.1 to 0.3.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210421170649-83a5a9bb288b to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210423185535-09eb48e85fd7 to 0.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Suggesting to add comment "Code generated by github.com/dizzyfool/genna DO NOT EDIT". This helps IDE to detect generated files, for example: Also this comment could have an extended information for the...