Skip to content

geniusrabbit/gosql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoSQL types collection

Build Status Go Report Card GoDoc Coverage Status

Library of standart sql collections an types like:

  • Char
  • NumberArrays generic (Ordered, Nullable) Numbers only (int, float, ...)
  • StringArray
  • JSON generic with any type of value structs, scalars, ...
import (
  "github.com/geniusrabbit/gosql/v2"
)

type Model struct {
  ID uint64
  Title string

  Configuration gosql.JSON[Config]
  Tags gosql.StringArray

  DebugMetricQuartiles gosql.NullableOrderedNumberArray[float64]
}

License MIT

LICENSE