Documentation ¶
Index ¶
- type A
- type AsyncProducer
- type B
- type Blank
- type C
- type ConsulLock
- type EmbeddedGet
- type Err
- type Example
- type Expecter
- type Fooer
- type FuncArgsCollision
- type GenericType
- type GetGeneric
- type GetInt
- 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 RequesterGenerics
- type RequesterIface
- type RequesterNS
- type RequesterPtr
- type RequesterReturnElided
- type RequesterSlice
- type RequesterVariadic
- type SendFunc
- type Sibling
- type StructWithTag
- type UnsafeInterface
- type UsesOtherPkgIface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncProducer ¶
type ConsulLock ¶
type EmbeddedGet ¶ added in v2.9.6
type EmbeddedGet[T constraints.Signed] interface{ GetGeneric[T] }
type FuncArgsCollision ¶ added in v2.5.1
type FuncArgsCollision interface {
Foo(ret interface{}) error
}
type GenericType ¶ added in v2.9.6
type GetGeneric ¶ added in v2.9.6
type GetGeneric[T constraints.Integer] interface{ Get() T }
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 RequesterGenerics ¶ added in v2.9.6
type RequesterGenerics[ TAny any, TComparable comparable, TSigned constraints.Signed, TIntf GetInt, TExternalIntf io.Writer, TGenIntf GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface { ~int | GenericType[int, GetInt] comparable }, ] interface { GenericArguments(TAny, TComparable) (TSigned, TIntf) GenericStructs(GenericType[TAny, TIntf]) GenericType[TSigned, TIntf] GenericAnonymousStructs(struct{ Type1 TExternalIntf }) struct { Type2 GenericType[string, EmbeddedGet[int]] } }
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 StructWithTag ¶ added in v2.22.0
type UnsafeInterface ¶ added in v2.9.6
type UsesOtherPkgIface ¶
type UsesOtherPkgIface interface {
DoSomethingElse(obj Sibling)
}
Source Files ¶
- argument_is_func_type.go
- argument_is_map_func.go
- async.go
- consul.go
- custom_error.go
- empty_interface.go
- expecter.go
- func_args_collision.go
- function.go
- generic.go
- imports_from_nested_interface.go
- imports_same_as_package.go
- io_import.go
- map_to_interface.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
- struct_with_tag.go
- unsafe.go
Click to show internal directories.
Click to hide internal directories.