Skip to content
go-jet edited this page Aug 19, 2019 · 26 revisions

Jet

Jet is a framework for writing type-safe SQL queries in Go, with ability to easily convert database query result to desired arbitrary structure. Jet currently supports PostgreSQL, MySQL and MariaDB. Support for additional databases will be added in future jet releases.

Jet is the easiest and fastest way to write complex SQL queries and map database query result into complex object composition destination. jet

Installation

Use the bellow command to install jet

$ go get -u github.com/go-jet/jet

Install jet generator to GOPATH bin folder. This will allow generating jet files from the command line.

go install github.com/go-jet/jet/cmd/jet

*Make sure GOPATH bin folder is added to the PATH environment variable.

Table of contents