Documentation
¶
Overview ¶
Package fetch contains the methods to extract the relevant models from the HTML from the source URL also handles the conversion of images to ascii art with the image2ascii library
Index ¶
Constants ¶
View Source
const UserAgent = "Lutakko CLI (beta)"
Variables ¶
This section is empty.
Functions ¶
func EventDetails ¶
func EventDetails(url string, eventId string) (*models.EventDetails, error)
EventDetails fetches the eventDetails for eventUrl from source
func EventImage ¶
EventImage fetches normal image file and turns it into an ascii art
Types ¶
type FailedFetch ¶
type FailedFetch struct {
// contains filtered or unexported fields
}
func (FailedFetch) Error ¶
func (f FailedFetch) Error() string
Click to show internal directories.
Click to hide internal directories.