helper

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(url string, fileName string) (int64, error)

DownloadFile downloads a file from a URL

func ExtractFromRequest

func ExtractFromRequest(url string, regex string, apiKey string) (*version.Version, error)

ExtractFromRequest will return extracted text from a page at a URL

func FileOrDirExists

func FileOrDirExists(filename string) bool

FileOrDirExists returns true if a helper object exists

func IsDirectory

func IsDirectory(path string) bool
func IsSymlink(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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