postgres-go icon indicating copy to clipboard operation
postgres-go copied to clipboard

A gnorm solution for generating database/sql wrapper for postgres

Results 6 postgres-go issues
Sort by recently updated
recently updated
newest added

Currently, the `plugin` directory contains an executable file `plugin` (the compiled form of plugin.go). If a user attempts to use this code without recompiling `plugin`, a rather unintuitive error message...

The TODO in README mentions ``` Implement joins. ``` As a layman user evaluating xo et al alongside gnorm, I would be very interested in joins. This issue is a...

I believe there are two function signatures that should be updated from `gnorm.db` to `{{$rootPkg}}.DB`: - https://github.com/gnormal/postgres-go/blob/master/gnorm_templates/table.gotmpl#L281 - https://github.com/gnormal/postgres-go/blob/master/gnorm_templates/table.gotmpl#L70

Looks like these were accidentally left unchanged. `goimports` will automatically pick these up and for me it defaults to importing the gnorm mysql driver which causes issues.

Just getting familiar with how this generator works and found: https://github.com/gnormal/postgres-go/blob/master/generated/public/authors/authors.go#L8 Is this a mistake ?

In https://github.com/gnormal/postgres-go/blob/master/gnorm_templates/table.gotmpl and https://github.com/gnormal/postgres-go/blob/master/gnorm_templates/fields.gotmpl could we replace ``` uuid "github.com/gofrs/uuid" ``` with ``` uuid "github.com/google/uuid" ``` Dhanyavaad.