Skip to content

emirot/sqlgojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build codecov

sqlgojson

Returns JSON from *sql.Rows

  • postgresql only

Installation

go get github.com/emirot/sqlgojson@v1.0.0

Why this project

I wanted to get JSON return from the database whithout having a struct already defined.
I found couple of examples online but no library.
I took those ideas and added some tests and automations and made it a library.