Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ColumnNameFindings is a columnName of type findings. ColumnNameFindings columnName = "findings" // ColumnNameInstanceId is a columnName of type instance_id. ColumnNameInstanceId columnName = "instance_id" // ColumnNameUpdatedAt is a columnName of type updated_at. ColumnNameUpdatedAt columnName = "updated_at" )
Variables ¶
View Source
var ErrInvalidcolumnName = errors.New("not a valid columnName")
Functions ¶
func ManagerWithClock ¶
ManagerWithClock allows customising manager's clock.
func NewManager ¶
NewManager returns a new SQLite database manager.
func ParsecolumnName ¶
ParsecolumnName attempts to convert a string to a columnName.
Types ¶
type ErrInvalidConstructor ¶
type ErrInvalidConstructor struct {
// contains filtered or unexported fields
}
ErrInvalidConstructor should be used for invalid manager constructor errors.
func (ErrInvalidConstructor) Error ¶
func (e ErrInvalidConstructor) Error() string
Click to show internal directories.
Click to hide internal directories.