Documentation ¶
Overview ¶
Package imdblit provides the ability to search an IMDB literature.list database file, decoding each record to a set of Go structs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMDB ¶
type IMDB struct {
// contains filtered or unexported fields
}
An IMDB reads and processes movie records values from an input stream.
func (*IMDB) DatabaseCreatedOn ¶
DatabaseCreatedOn will contain the datetime that the DB file was generated, once the .list has been parsed.
func (*IMDB) ExtractAll ¶ added in v0.9.0
ExtractAll processes the DB and returns all movies and associated data.
func (*IMDB) FindMovieAdaptations ¶
FindMovieAdaptations processes the DB and returns movies that are adaptations of the given book title/author.
The search will only parse the book types: ADPT, BOOK, and NOVL, which will speed up the processing considerably.
func (*IMDB) TotalRecordCount ¶
TotalRecordCount will contain the total number of records found in the file, once the .list has been parsed.