godlutil

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDownloadDir

func GetDownloadDir() (string, error)

GetDownloadDir returns the `godl` download directory

func Must

func Must(err error)

Must enforces that error is non-nil else it panics

func VerifyHash

func VerifyHash(input io.Reader, hex string) error

VerifyHash reports whether the named file has contents with SHA-256 of the given hex value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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