loader

package
v0.0.4-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SourceMetadataKey = "source"
)

Variables

View Source
var (
	ErrorInternal = fmt.Errorf("internal error")
)

Functions

func NewDirectoryLoader

func NewDirectoryLoader(dirname string, regExPathMatch string) (*directoryLoader, error)

func NewTextLoader

func NewTextLoader(filename string, metadata map[string]interface{}) (*textLoader, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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