jschaf / pggen

Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
MIT License
281 stars 26 forks source link

Make type parsing more robust #60

Closed jschaf closed 2 years ago

jschaf commented 2 years ago

Previously, pggen struggled with types like []*time.Time. Use a proper parse tree with nodes for pointers and arrays. The output should be a no-op; this is an internal change.