test

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File added in v1.3.2

type File struct {
	Path      string
	Contents  string
	Directory bool
}

type MockFilesystem

type MockFilesystem map[string]File

func NewMockFilesystem added in v1.3.2

func NewMockFilesystem(files ...File) MockFilesystem

func (MockFilesystem) ReadFile

func (m MockFilesystem) ReadFile(filename string) ([]byte, error)

Jump to

Keyboard shortcuts

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