loader

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 157

Documentation

Overview

Package loader has a data loading interface and various implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileLoaderAtCwd added in v1.0.11

func NewFileLoaderAtCwd(fSys fs.FileSystem) *fileLoader

NewFileLoaderAtCwd returns a loader that loads from ".".

func NewFileLoaderAtRoot added in v1.0.11

func NewFileLoaderAtRoot(fSys fs.FileSystem) *fileLoader

NewFileLoaderAtRoot returns a loader that loads from "/".

func NewLoader added in v1.0.5

func NewLoader(path string, fSys fs.FileSystem) (ifc.Loader, error)

NewLoader returns a Loader.

Types

This section is empty.

Jump to

Keyboard shortcuts

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