io

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate added in v0.2.0

func Generate(url, name string) error

func HttpGet

func HttpGet(url, endpoint string, values *url.Values) []byte

func LogErrorAndExit

func LogErrorAndExit(err error, context string, a ...interface{})

LogErrorAndExit prints the cause of the given error and exits the code with an exit code of 1. If the context is provided, then that is printed, if not, then the cause is detected using errors.Cause(err)

func UnmarshallYamlFromHttp

func UnmarshallYamlFromHttp(url, endpoint string, result interface{})

func Unzip

func Unzip(src, dest string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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