data/db.go
func NewDBFromConnStr(connStr string) (*reform.DB, error) {
	conn, err := dbConnect(connStr)
	if err != nil {
		return nil, err
	}

	return newReform(conn), nil
}
func NewDBFromConnStr(connStr string) (*reform.DB, error) {
	conn, err := dbConnect(connStr)
	if err != nil {
		return nil, err
	}

	return newReform(conn), nil
}
func NewDBFromConnStr ( connStr string ) ( * reform . DB , error ) { conn , err := dbConnect ( connStr ) if err != nil { return nil , err } return newReform ( conn ) , nil }
// NewDBFromConnStr connects to db and returns db instance.
NewDBFromConnStr connects to db and returns db instance .