utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(path string) error

Deletes a file.

func GetBreadcrumbs deprecated

func GetBreadcrumbs(url string) ([]string, error)

Deprecated: use workshop.GetBreadcrumbs

func GetDoc

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

Gets the goquery document of a given web page.

func In

func In(slice []string, item string) bool

Checks if a slice of strings contains an given string.

func Unzip

func Unzip(src, dest string) error

Based off of https://stackoverflow.com/a/24792688

Types

This section is empty.

Jump to

Keyboard shortcuts

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