sqldb

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB(dbtype, dburi string) (*sql.DB, error)

InitDB initializes database with according to server configuration

func ParseDBFile

func ParseDBFile(dbfile string) (string, string, string)

ParseDBFile function parses given file name and extracts from it dbtype and dburi file should contain the "dbtype dburi" string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL