request

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: BlueOak-1.0.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(resp *http.Response) error

Error checks the given http response for an error code, and, if one is present, reads the body and returns a friendly error.

func FetchHTML

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

FetchHTML does an HTTP GET on the given URL, then parses the response as HTML.

Types

This section is empty.

Jump to

Keyboard shortcuts

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