test

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2015 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