Documentation ¶
Index ¶
- func FormatColumnTime(fmtTimeStampz string, defaultTimeZone *time.Location, prop *TimeProp, ...) (v interface{})
- func FormatTime(fmtTimeStampz string, sqlTypeName string, t time.Time) (v interface{})
- func IsErrParamIsEmpty(err error) bool
- func NewErrParamIsEmpty(param string) error
- func ParseStruct(src interface{}, bean interface{}) error
- func Struct2String(v interface{}) (string, error)
- func TakePlaceHolder(sql, placeHolder string, count int) string
- type BlobReadWriter
- type ErrParamIsEmpty
- type NullTime
- type TimeProp
- type TimePropDesc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatColumnTime ¶
func FormatTime ¶
FormatTime format time as column type
func IsErrParamIsEmpty ¶
func NewErrParamIsEmpty ¶
func ParseStruct ¶
func ParseStruct(src interface{}, bean interface{}) error
func Struct2String ¶
func TakePlaceHolder ¶
Types ¶
type ErrParamIsEmpty ¶
type ErrParamIsEmpty struct {
// contains filtered or unexported fields
}
ErrParamIsEmpty SQL 的 in 参数是空时返回的错误
func (*ErrParamIsEmpty) Error ¶
func (e *ErrParamIsEmpty) Error() string
type TimePropDesc ¶
Click to show internal directories.
Click to hide internal directories.