Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDbDriverIsNotSupported is returned when the db driver is not supported ErrDbDriverIsNotSupported = errors.New("This db driver is not supported") // ErrWrongCastNotAMap is returned when a map is not a map[interface{}]interface{} ErrWrongCastNotAMap = errors.New("Could not cast record: not a map[interface{}]interface{}") // ErrKeyIsNotString is returned when a record is not of type string ErrKeyIsNotString = errors.New("Record map key is not string") )
View Source
var ErrCouldNotConvertToTime = errors.New("Could not convert string to time")
ErrCouldNotConvertToTime is returns when a string is not a reconizable time format
Functions ¶
This section is empty.
Types ¶
type DbManagerFactory ¶
type DbManagerFactory struct{}
type InsertError ¶
InsertError will be returned if any error happens on database while inserting the record
func (*InsertError) Error ¶
func (e *InsertError) Error() string
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
MySQL Driver for MySQL and MariaDB
type PgSQL ¶
type PgSQL struct {
// contains filtered or unexported fields
}
PgSQL Driver for PgSQL and MariaDB
Click to show internal directories.
Click to hide internal directories.