Documentation ¶
Index ¶
- Variables
- func DownloadFile(cfg config.Config, filepath string, url *url.URL) error
- func GenerateUUID() (string, error)
- func GetRequest(url *url.URL, headers *http.Header) ([]byte, error)
- func IsValidUUID(u string) bool
- func MergeHeaders(h1, h2 http.Header) http.Header
- func PostRequest(url *url.URL, headers *http.Header, data map[string]interface{}) ([]byte, error)
- func PrepareComicInfo(albumInfo types.Album) (types.ComicInfo, error)
- func SanitizeName(name string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorStyle = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#FF0000", Dark: "#FF0000"})
View Source
var SuccessStyle = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#00FF00", Dark: "#00FF00"})
View Source
var TitleStyle = lipgloss.NewStyle(). Background(lipgloss.Color("253")). Foreground(lipgloss.AdaptiveColor{Light: "#251a18", Dark: "#251a18"}). Bold(true)
View Source
var WarningStyle = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#FFA500", Dark: "#FFA500"})
Functions ¶
func GenerateUUID ¶
func IsValidUUID ¶
func PostRequest ¶
func SanitizeName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.