pkg

package
v0.0.0-...-f96d365 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExist

func FileExist(path string) bool

func GetByteStream

func GetByteStream(s string) (bt []byte, err error)

GetByteStream is read file/url/stdin to []byte stream

func HasJSONPrefix

func HasJSONPrefix(buf []byte) bool

func ReadByteFrom

func ReadByteFrom(in io.Reader) (bt []byte, err error)

func Yj

func Yj(config string, format bool) error

format when json is true . yaml is false

Types

This section is empty.

Jump to

Keyboard shortcuts

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