Time Field
type TimeDBField struct {
*Field
DefaultFuncStruct *FuncStruct
}
func (t *TimeDBField) DefaultFunc(v func() time.Time) *TimeDBField {
t.DefaultFuncStruct.DefaultFunc(v)
t.HaveDefault = true
return t
}
Attention
Time field uses time.Time struct from time package.