Documentation ¶
Index ¶
- type A
- type AsyncProducer
- type B
- type Blank
- type C
- type ConsulLock
- type Err
- type Example
- type Fooer
- type FuncArgsCollision
- type HasConflictingNestedImports
- type ImportsSameAsPackage
- type KeyManager
- type MapFunc
- type MapToInterface
- type MyReader
- type Requester
- type Requester2
- type Requester3
- type Requester4
- type RequesterArgSameAsImport
- type RequesterArgSameAsNamedImport
- type RequesterArgSameAsPkg
- type RequesterArray
- type RequesterElided
- type RequesterIface
- type RequesterNS
- type RequesterPtr
- type RequesterReturnElided
- type RequesterSlice
- type RequesterVariadic
- type SendFunc
- type Sibling
- type UsesOtherPkgIface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncProducer ¶
type ConsulLock ¶
type FuncArgsCollision ¶ added in v2.5.1
type FuncArgsCollision interface {
Foo(ret interface{}) error
}
type HasConflictingNestedImports ¶
type HasConflictingNestedImports interface { RequesterNS Z() http.MyStruct }
type ImportsSameAsPackage ¶
type ImportsSameAsPackage interface { A() test.B B() KeyManager C(C) }
type MapToInterface ¶
type MapToInterface interface {
Foo(arg1 ...map[string]interface{})
}
type Requester2 ¶
type Requester3 ¶
type Requester3 interface {
Get() error
}
type Requester4 ¶
type Requester4 interface {
Get()
}
type RequesterArgSameAsImport ¶
type RequesterArgSameAsImport interface {
Get(json string) *json.RawMessage
}
type RequesterArgSameAsNamedImport ¶
type RequesterArgSameAsNamedImport interface {
Get(json string) *json.RawMessage
}
type RequesterArgSameAsPkg ¶
type RequesterArgSameAsPkg interface {
Get(test string)
}
type RequesterArray ¶
type RequesterElided ¶
type RequesterIface ¶
type RequesterPtr ¶
type RequesterReturnElided ¶
type RequesterSlice ¶
type RequesterVariadic ¶
type RequesterVariadic interface { // cases: only variadic argument, w/ and w/out interface type Get(values ...string) bool OneInterface(a ...interface{}) bool // cases: normal argument + variadic argument, w/ and w/o interface type Sprintf(format string, a ...interface{}) string MultiWriteToFile(filename string, w ...io.Writer) string }
type UsesOtherPkgIface ¶
type UsesOtherPkgIface interface {
DoSomethingElse(obj Sibling)
}
Source Files ¶
- MapToInterface.go
- argument_is_func_type.go
- argument_is_map_func.go
- async.go
- consul.go
- custom_error.go
- empty_interface.go
- func_args_collision.go
- function.go
- imports_from_nested_interface.go
- imports_same_as_package.go
- io_import.go
- mock_method_uses_pkg_iface.go
- requester.go
- requester2.go
- requester3.go
- requester4.go
- requester_arg_same_as_import.go
- requester_arg_same_as_named_import.go
- requester_arg_same_as_pkg.go
- requester_array.go
- requester_elided.go
- requester_iface.go
- requester_ns.go
- requester_ptr.go
- requester_ret_elided.go
- requester_slice.go
- requester_unexported.go
- requester_variadic.go
- same_name_imports.go
- struct_value.go
Click to show internal directories.
Click to hide internal directories.