package
0.0.0-20241025181643-377b65c841ce
Repository: https://github.com/jo-m/trainbot.git
Documentation: pkg.go.dev

# Functions

Backup safely backs up a SQLite database to a new file.
GetAllBlobs lists all blobs which the database knows about.
GetNextCleanup returns the next train sighting for which we can delete the blobs locally.
GetNextUpload returns the next train sighting to upload from the database.
InsertTrain inserts a new train sighting into the database.
Open creates a new SQLite database or opens an existing one.
SetCleanedUp marks a train sighting as uploaded in the database.
SetUploaded marks a train sighting as uploaded in the database.

# Variables

ErrNoRowAffected means that a row was expected to change - but none did.

# Structs

Train represents the basics of a train in the database.