Documentation ¶
Index ¶
- func ChromedpQueryEndpointList(endpointListURL string, waitVisibleElement string) (*goquery.Document, error)
- func FailOnError(errString string, err error)
- func IntArrayContains(l []int, i int) bool
- func IntArraysEqual(l1 []int, l2 []int) bool
- func QueryAndOpenCSV(csvURL string, csvFilePath string, header bool) (*csv.Reader, *os.File, error)
- func QueryAndReadFile(URL string, filePath string) ([]byte, error)
- func QueryEndpointList(endpointListURL string) ([]byte, error)
- func StringArrayContains(l []string, s string) bool
- func StringArraysEqual(l1 []string, l2 []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChromedpQueryEndpointList ¶
func ChromedpQueryEndpointList(endpointListURL string, waitVisibleElement string) (*goquery.Document, error)
ChromedpQueryEndpointList queries the given endpoint list using chromedp and returns the html document
func FailOnError ¶
FailOnError checks if err is not equal to nil and if it isn't, logs failure and exits the program
func IntArrayContains ¶
IntArrayContains checks if the integer array contains the provided integer.
func IntArraysEqual ¶
IntArraysEqual checks if l1 and l2 have the same contents regardless of order.
func QueryAndOpenCSV ¶
func QueryEndpointList ¶
QueryEndpointList queries the given endpoint list using http client and returns the response body of the GET request
func StringArrayContains ¶
StringArrayContains checks if the string array contains the provided string.
func StringArraysEqual ¶
StringArraysEqual checks if l1 and l2 have the same contents regardless of order.
Types ¶
This section is empty.