Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: Apache-2.0, 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

type File struct {
	Path      string
	Contents  string
	Directory bool
}

type MockFilesystem

type MockFilesystem map[string]File

func NewMockFilesystem

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