package
Version:
v0.0.0-...-d9f8d9e
Opens a new window with list of versions in this module.
Published: Nov 25, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func InitDB(dataSourceName string)
InitDB creates the database and migrates it to the correct version.
SaveURL does an upsert on a URL.
SavedURL stores a single url seen in a tweet.
AllSavedURLs returns all of the urls ever seen.
SomeSavedURLs returns a subset of most recently seen urls.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.