package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Aug 3, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 18
Opens a new window with list of known importers.
Documentation
¶
Package sqlite3_db contains common types and functions for storing data in a sqlite3 database.
DateToString converts a date to YYYYmmdd
StringToDate converts a string of form YYYYmmdd to a time object in UTC
time zone.
Action represents some action against a sqlite3 database
Db wraps a sqlite3 database connection.
With Db, multiple goroutines can safely share the same connection.
Db also provides transactional behavior.
Close closes the underlying sql.DB instance.
Do performs action within a transaction.
Doer does an Action against a sqlite3 database
If t is not nil, converts t to a Doer. Otherwise
returns db as the Doer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.