Golang Other Date Types
Golang Library that translates between DATE
and TIME
SQL types and JSON encoding.
Features:
- automatically converts json to mysql scannable struct for DATE and TIME types
- can change the format read from the json
Look in the example folder
odt.SetDateFormat("01/02/2006")
odt.SetTimeFormat("22-22-22")