package
Version:
v1.22.2
Opens a new window with list of versions in this module.
Published: May 15, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DB provides a local running instance of postgres
NewDB returns a new local postgresql database.
func (db *DB) IsRunning() bool
IsRunning checks PostgreSQL server is running or not.
Name returns data source name if server is running.
Otherwise returns empty string.
Stop stops the running PostgreSQL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.