tfiles

package
v0.0.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TFileType = map[string]int{
	"JSON": 0,
	"YAML": 1,
}

TFileType verbosity level

Functions

func ReadInputFile

func ReadInputFile(filePath string) []byte

ReadInputFile read file and return it's content

func ReadInputFiles

func ReadInputFiles(listFiles []string, fileType int) []interface{}

ReadInputFiles loop over JSON files and combine the content

func ReadInputStdin

func ReadInputStdin(fileType int) []interface{}

ReadInputStdin Read from STDIN

Types

This section is empty.

Jump to

Keyboard shortcuts

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