common

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForError

func CheckForError(err error)

CheckForError checks if a error happend and logs it, and ends the process

func ParseAndEscapeArgs

func ParseAndEscapeArgs(args []string) string

ParseAndEscapeArgs takes all cli arguments, quotes them and handles escaping

func SetLoglevel

func SetLoglevel(loglevel string)

*

  • Sets the loglevel according to the flag on each command run

Types

This section is empty.

Jump to

Keyboard shortcuts

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