Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadStrip ¶
DownloadStrip downloads strip image
func SanitizeFilename ¶
SanitizeFilename replaces special characters from name
Types ¶
type ComicStrip ¶
type ComicStrip struct { ID string `json:"id" storm:"id"` URL string `json:"url" storm:"unique"` Name string `json:"name"` WebcomicName string `json:"webcomic_name"` Order int `json:"order"` FileName string `json:"file_name"` }
ComicStrip is a single image
func (*ComicStrip) Download ¶
func (s *ComicStrip) Download() (string, error)
Download downloads strip image
func (*ComicStrip) RelativeFilename ¶
func (s *ComicStrip) RelativeFilename() string
RelativeFilename returns the strip relative file path
Click to show internal directories.
Click to hide internal directories.