fixtures

package
v6.0.0-...-ef08a44 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 8 Imported by: 0

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 CustomOutput

type CustomOutput interface {
	CustomFolder()
}

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 InlineStructParams

type InlineStructParams interface {
	DoSomething(ctx context.Context, body struct {
		SomeString        string
		SomeStringPointer *string
		SomeTime          time.Time
		SomeTimePointer   *time.Time
		HTTPRequest       http.Request
	}) error
}

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
aliased_packagefakes
Code generated by counterfeiter.
Code generated by counterfeiter.
another_packagefakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
externalpkgfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
headers
defaultheader/defaultheaderfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
nodefaultheader/nodefaultheaderfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
internalpkgfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
flagcustomfakesdir
Code generated by counterfeiter.
Code generated by counterfeiter.
flagcustomfakesdir/flagcustomfakesdirfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
packagemodeshim
Code generated by counterfeiter.
Code generated by counterfeiter.
packagemodeshim/packagemodeshimfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
sql
sqlfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
syncfakes
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