package
Version:
v0.0.0-...-4081b50
Opens a new window with list of versions in this module.
Published: May 8, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FromJSON converts JSON to Go data structure.
ToJSON parses Go data structure to JSON.
type Cred struct {
URL string `json:"url"`
}
Cred is credential for http.Request.Body.
Includes URL that is going to be fetched.
GetImages traverses the parsed HTML, returns each images in HTML.
type PageInfo struct {
ImageURL string `json:"image"`
ImageName string `json:"image_name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.