utils

package
v0.0.0-...-60ca2d3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *logger.Logger

Logger writes log to stdout

Functions

func GetStdoutText

func GetStdoutText(r io.Reader) (stdout []string)

GetStdoutText reads out and concats string from io.Reader

func InitLogger

func InitLogger(verbose bool)

InitLogger creates and binds instances of InfoLogger and SystemLogger types

func SaveFile

func SaveFile(filepath string, file []byte, permissions int) error

SaveFile saves file at given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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