Documentation ¶ Index ¶ Variables func FormatDSN(cfgdb config.Database) string func New(cfgdb config.Database) (*sql.DB, error) func NewMigrate(src, dest string) (m *migrate.Migrate, err error) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrorFailedToCheckRecord = fmt.Errorf("failed to check record") ErrorRecordWasNotFound = fmt.Errorf("record was not found") ErrorNoAffected = fmt.Errorf("no affected") ErrorNoLastInsertId = fmt.Errorf("no last insert id") ) Functions ¶ func FormatDSN ¶ func FormatDSN(cfgdb config.Database) string func New ¶ func New(cfgdb config.Database) (*sql.DB, error) func NewMigrate ¶ func NewMigrate(src, dest string) (m *migrate.Migrate, err error) Types ¶ This section is empty. Source Files ¶ View all Source files database.go errors.go migrate.go Directories ¶ Show internal Expand all Path Synopsis vanilla excute excute/dialects/mysql ice_cream_maker sqlex stmt stmt/dialects/mysql stmt/internal/sexp Click to show internal directories. Click to hide internal directories.