data

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Data []byte
	Name string
}

func JoinYAML

func JoinYAML(files []File) File

func ReadFile

func ReadFile(fs http.FileSystem, file string) (File, error)

func SplitYAML

func SplitYAML(file File) []File

func (File) String

func (f File) String() string

type FileList

type FileList []File

func ReadFiles

func ReadFiles(fs http.FileSystem) (FileList, error)

func (FileList) Filter

func (l FileList) Filter(predicate func(File) bool) FileList

Jump to

Keyboard shortcuts

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