More work to support nullable foreign keys

Adds nullable int/uint types
This commit is contained in:
Jamie Curnow committed 2023-05-30 22:26:44 +10:00
1 parent 88f3953f92
commit 4a57956093
14 files changed
+387 -256

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
package util
import "time"
// UnixMilliToNiceFormat converts a millisecond to nice string
func UnixMilliToNiceFormat(milli int64) string {
t := time.Unix(0, milli*int64(time.Millisecond))
return t.Format("2006-01-02 15:04:05")
}