Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get() (chapters map[string]*SavedChapter, err error)
Get returns all chapters from the history file
func Remove ¶
func Remove(chapter *SavedChapter) error
Remove removes the chapter from the history file
Types ¶
type SavedChapter ¶
type SavedChapter struct { SourceID string `json:"source_id"` MangaName string `json:"manga_name"` MangaURL string `json:"manga_url"` MangaChaptersTotal int `json:"manga_chapters_total"` Name string `json:"name"` URL string `json:"url"` ID string `json:"id"` Index int `json:"index"` MangaID string `json:"manga_id"` }
func (*SavedChapter) String ¶
func (c *SavedChapter) String() string
Click to show internal directories.
Click to hide internal directories.