Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToTimestamp ¶
func ConvertToTimestamp(columnValue any, formats ...TimeFormat) (*time.Time, error)
Types ¶
type DefaultColumnValueConvertor ¶
type DefaultColumnValueConvertor struct {
// contains filtered or unexported fields
}
func NewDefaultTypeConvertor ¶
func NewDefaultTypeConvertor(clientMeta *schema.ClientMeta, validStringBlackSlice []string) *DefaultColumnValueConvertor
type TimeFormat ¶
type TimeFormat struct { Formatter string TimeFormatType TimeFormatType }
type TimeFormatType ¶
type TimeFormatType int
const ( TimeFormatNoTimezone TimeFormatType = iota TimeFormatNamedTimezone TimeFormatNumericTimezone TimeFormatNumericAndNamedTimezone TimeFormatTimeOnly )
Click to show internal directories.
Click to hide internal directories.