Documentation
¶
Index ¶
- type AliasedInterface
- type DotImports
- type EmbedsInterfaces
- type FirstInterface
- type HasImports
- type HasOtherTypes
- type HasVarArgs
- type HasVarArgsWithLocalTypes
- type ImportsGoHyphenPackage
- type InterfaceToEmbed
- type LocalType
- type Params
- type Request
- type RequestFactory
- type ReusesArgTypes
- type SecondInterface
- type SomeFunc
- type SomeNum
- type SomeString
- type Something
- type SomethingElse
- type SomethingFactory
- type SomethingWithForeignInterface
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 EmbedsInterfaces ¶
type EmbedsInterfaces interface { http.Handler another_package.AnotherInterface InterfaceToEmbed DoThings() }
type FirstInterface ¶
type FirstInterface interface {
DoThings()
}
type HasImports ¶
type HasOtherTypes ¶
type HasOtherTypes interface {
GetThing(SomeString) SomeFunc
}
type HasVarArgs ¶
type HasVarArgsWithLocalTypes ¶
type HasVarArgsWithLocalTypes interface {
DoThings(...LocalType)
}
type ImportsGoHyphenPackage ¶
type ImportsGoHyphenPackage interface {
UseHyphenType(hyphenpackage.HyphenType)
}
type InterfaceToEmbed ¶
type InterfaceToEmbed interface {
EmbeddedMethod() string
}
type ReusesArgTypes ¶
type ReusesArgTypes interface {
DoThings(x, y string)
}
type SecondInterface ¶
type SecondInterface interface {
EmbeddedMethod() string
}
type SomeString ¶
type SomeString string
type SomethingElse ¶
type SomethingElse interface {
ReturnStuff() (a, b int)
}
type SomethingFactory ¶
type SomethingWithForeignInterface ¶
type SomethingWithForeignInterface interface { the_aliased_package.InAliasedPackage }
SomethingWithForeignInterface is an interface that embeds a foreign interface.
Source Files
¶
- aliased_interfaces.go
- blank.go
- compound_return.go
- dot_imports.go
- embeds_interfaces.go
- has_imports.go
- has_other_types.go
- has_var_args.go
- imports_go_hyphen_package.go
- multiple_interfaces.go
- other_types.go
- request_factory.go
- reuses_arg_types.go
- something.go
- something_remote.go
- typed_function.go
- unexported.go
Directories
¶
Path | Synopsis |
---|---|
dup_packages
module
|
|
hyphenated_package_same_name
module
|
|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.