Documentation ¶
Overview ¶
Package dblib collection of db func
Package dblib collection of db func
Index ¶
- Variables
- func DBConnect(driver string, source string, timeout int) (db *sql.DB, err error)
- func GetDefaultDomain(path string) (domain string)
- func HaveOerr(err error) (isOerr bool, code int, msg string)
- func SelectOneStringValue(db *sql.DB, sql string) (queryResult string, err error)
- type TNSEntries
- type TNSEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var TestData string
TestData directory for working files
View Source
var TestDir string
TestDir working dir for tests
Functions ¶
func GetDefaultDomain ¶
GetDefaultDomain extract names_default_domain from sqlnet.ora
Types ¶
type TNSEntries ¶
TNSEntries Map of tns entries
func GetTnsnames ¶
func GetTnsnames(filename string, recursiv bool) (TNSEntries, string, error)
GetTnsnames map tnsnames.ora entries to an readable structure
Click to show internal directories.
Click to hide internal directories.