package
0.0.0-20240619161437-cfac53aa8a9d
Repository: https://github.com/havce/ctfbot.git
Documentation: pkg.go.dev
# Functions
FormatError returns err as a ctfbot error, if possible.
FormatLimitOffset returns a SQL string for a given limit & offset.
No description provided by the author
NewDB returns a new instance of DB associated with the given datasource name.
# Structs
No description provided by the author
DB represents the database connection.
Tx wraps the SQL Tx object to provide a timestamp at the start of the transaction.
# Type aliases
NullTime represents a helper wrapper for time.Time.