utils

package
v0.0.0-...-a5c6689 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFilepath

func CreateFilepath(filename string) (path string, err error)

func GetOsFileExtension

func GetOsFileExtension() (extension string, err error)

func GetUrlVersionSuffix

func GetUrlVersionSuffix(res *http.Response) (suffix string, err error)

func MakeRequest

func MakeRequest(method, url string, client *http.Client) (res *http.Response, err error)

func ReadUserInput

func ReadUserInput(startTime time.Time) (shouldReturn bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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