Skip to content

mono83/sqlt

Repository files navigation

sqlt

GitHub go.mod Go version GitHub release (latest by date) Go Report Card

Minimal set of useful things to work with database in Go.

Installation

go get -u github.com/mono83/sqlt

Provided custom types

  • sqlt.TrueFalse - to read boolean value stored in database as enum(true,false)
  • sqlt.UnixSecinds - to read time.Time value stored in database as integer unix timestamp in seconds