loader

package
Version: v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

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(root 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