utils

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URL = "https://www.boursorama.com"
)

Variables

This section is empty.

Functions

func GetHTMLDocument added in v1.3.0

func GetHTMLDocument(url string) (*goquery.Document, error)

func GetMaxPages added in v1.3.0

func GetMaxPages(view *goquery.Document) uint16

func IsDataFromPipe added in v1.2.0

func IsDataFromPipe() bool

func PrintfOrVoid added in v1.2.0

func PrintfOrVoid(condition bool, text string, args ...any)

func PrintlnOrVoid added in v1.2.0

func PrintlnOrVoid(condition bool, args ...any)

func SanitizeUrlInput added in v1.2.1

func SanitizeUrlInput(input string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL