go-jet/jet
View on GitHub ↗ ★ 3,826 Go
Type safe SQL builder with code generation and automatic query result data mapping
12 mentions on Hacker News by 11 people: 2 stories, 10 comments · first 2019-09-16 · latest 2026-07-15
20082026
-
…I see that as a positive as well, since you are forced to apply migrations before writing code. [1] https://github.com/go-jet/jet
comment by sollniss · 2026-07-15 · in How I use HTMX with Go -
…a great alternative so far, most notably because of its non-issue with dynamic queries support. https://github.com/go-jet/jet/
comment by 0x_rs · 2024-09-29 · in Some Go web dev notes -
…(try mapping postgres arrays or jsonb documents into structs and you'll see what I mean). [0]: https://github.com/go-jet/jet
comment by renhanxue · 2024-09-09 · in Sqlc: Compile SQL to type-safe code -
…a set of Golang structs that lets you write 100% Golang code that looks like 99% SQL. Genius! https://github.com/go-jet/jet
comment by geoka9 · 2024-09-09 · in Sqlc: Compile SQL to type-safe code -
Jet can automatically load joined objects into embedded Go structs: https://github.com/go-jet/jet/wiki/Query-Result-Mapping-(QRM... Depending on what you are doing there might be some duplication that you could remove by creating hash…
comment by gregwebs · 2024-05-28 · in Eradicating N+1s: The Two-Phase Data Load and Render Pattern in Go -
…you write type safe SQL and can read the results into structs- including joins into slice fields. https://github.com/go-jet/jet
comment by gregwebs · 2023-09-02 · in Open-sourcing SQX, a way to build flexible database models in Go -
Agreed. I am experimenting with using go-jet instead and it’s going real good so far. https://github.com/go-jet/jet
comment by stereosteve · 2022-11-29 · in Building a High Performance Data Integration Framework in Go -
As an alternative I suggest people to look at https://github.com/go-jet/jet . I had a good experience working with it and the author is quite responsive. It really feels like writing SQL but you are writing typesafe golang which I really…
comment by Sytten · 2021-09-08 · in How We Went All In on sqlc/pgx for Postgres and Go -
My favorite SQL library has been Go-Jet in Go: https://github.com/go-jet/jet It has a different approach from PgTyped, which generates type-safe TypeScript code from SQL, whereas Go-Jet generates type-safe SQL from Go code I'd love to try…
comment by Allezxandre · 2020-05-25 · in Show HN: PgTyped – Typesafe SQL in TypeScript and Postgres