Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB represents our sqlite3 database file.
func Open ¶
Open returns a connection to a migrated sqlite3 database file on disk, creating the file and running migrations if necessary.
func (*DB) InsertArtist ¶
InsertArtist, given an Artist, inserts the appropriate data into the artists, artist_genres, and artists_rtree tables, doing nothing if they already exist.
Click to show internal directories.
Click to hide internal directories.