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
	FullPath 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

Source Files