loaderold

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadLoad

func BadLoad(n base.FilePath) model.Tutorial

BadLoad returns a fake tutorial complaining about its data source. For use with a web browser, to make the problem obvious.

Types

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

Loader loads a dataset.

func NewLoader

func NewLoader(ds *base.DataSet) *Loader

NewLoader returns a Loader for the given DataSet.

func (*Loader) DataSet

func (l *Loader) DataSet() *base.DataSet

DataSet that the Loader will load.

func (*Loader) Load

func (l *Loader) Load() (model.Tutorial, error)

Load loads the DataSet into a Tutorial.

func (*Loader) SmellsLikeGithub

func (l *Loader) SmellsLikeGithub() bool

SmellsLikeGithub is true if the DataSet smells like github.

Jump to

Keyboard shortcuts

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