GormValuerInterface panics on null input

前端 未结 0 1098
南旧
南旧 2020-12-08 04:43

I was looking at using the GormValuerInterface for a monetary I have:

type Amount struct {
    Units int64
    Nanos int32
}

as I was seeing

相关标签:
回答
  • 消灭零回复
提交回复
热议问题