fixtures

package
v0.0.0-...-d7285d5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasedInterface

type AliasedInterface interface {
	alias.AnotherInterface
}

AliasedInterface is an interface that embeds an interface in an aliased package.

type DotImports

type DotImports interface {
	DoThings(io.Writer, *File) *http.Client
}

type EmbedsInterfaces

type EmbedsInterfaces interface {
	http.Handler
	another_package.AnotherInterface
	InterfaceToEmbed

	DoThings()
}

type FirstInterface

type FirstInterface interface {
	DoThings()
}

type HasImports

type HasImports interface {
	DoThings(io.Writer, *some_alias.File) *http.Client
}

type HasOtherTypes

type HasOtherTypes interface {
	GetThing(SomeString) SomeFunc
}

type HasVarArgs

type HasVarArgs interface {
	DoThings(int, ...string) int
	DoMoreThings(int, int, ...string) int
}

type HasVarArgsWithLocalTypes

type HasVarArgsWithLocalTypes interface {
	DoThings(...LocalType)
}

type ImportsGoHyphenPackage

type ImportsGoHyphenPackage interface {
	UseHyphenType(hyphenpackage.HyphenType)
}

type InterfaceToEmbed

type InterfaceToEmbed interface {
	EmbeddedMethod() string
}

type LocalType

type LocalType struct{}

type Params

type Params struct{}

type Request

type Request struct{}

type RequestFactory

type RequestFactory func(Params, map[string]interface{}) (Request, error)

type ReusesArgTypes

type ReusesArgTypes interface {
	DoThings(x, y string)
}

type SecondInterface

type SecondInterface interface {
	EmbeddedMethod() string
}

type SomeFunc

type SomeFunc func(SomeNum) bool

type SomeNum

type SomeNum uint64

type SomeString

type SomeString string

type Something

type Something interface {
	DoThings(string, uint64) (int, error)
	DoNothing()
	DoASlice([]byte)
	DoAnArray([4]byte)
}

type SomethingElse

type SomethingElse interface {
	ReturnStuff() (a, b int)
}

type SomethingFactory

type SomethingFactory func(string, map[string]interface{}) string

type SomethingWithForeignInterface

type SomethingWithForeignInterface interface {
	the_aliased_package.InAliasedPackage
}

SomethingWithForeignInterface is an interface that embeds a foreign interface.

Directories

Path Synopsis
dup_packages module
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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