stub

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stubs

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

func RetrieveFiles

func RetrieveFiles(stubsPath string) (*Stubs, error)

RetrieveFiles builds a list of files and their contents based on a passed filepath the stubs are keyed by their filename

func (*Stubs) Get

func (s *Stubs) Get(identifier string) ([]byte, error)

Get retrieves the stub content based on the keyed name

Jump to

Keyboard shortcuts

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