loader

package
v0.0.0-...-85e6554 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 7 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

func NewFileLoaderAtCwd(fSys fs.FileSystem) *fileLoader

NewFileLoaderAtCwd returns a loader that loads from ".".

func NewFileLoaderAtRoot

func NewFileLoaderAtRoot(fSys fs.FileSystem) *fileLoader

NewFileLoaderAtRoot returns a loader that loads from "/".

func NewLoader

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