package
0.0.0-20230920040335-bd77e7c9ffe9
Repository: https://github.com/limpo1989/go-spring.git
Documentation: pkg.go.dev
# Packages
Package assert is a generated GoMock package.
# Functions
FileLineFromPC returns a function's name, file name and line number.
HasReceiver returns whether the function has a receiver.
Indirect returns its element type when t is a pointer type.
IsBeanReceiver returns whether the `t` is a bean receiver, a bean receiver can be a bean, a map or slice whose elements are beans.
IsBeanType returns whether `t` is a bean type.
IsConstructor returns whether `t` is a constructor type.
IsContextType returns whether `t` is context.Context type.
IsConverter returns whether `t` is a converter type.
IsErrorType returns whether `t` is error type.
IsFuncType returns whether `t` is func type.
IsPrimitiveValueType returns whether `t` is the primitive value type which only is int, unit, float, bool, string and complex.
IsStructPtr returns whether it is the pointer type of structure.
IsValueType returns whether the input type is the primitive value type and their composite type including array, slice, map and struct, such as []int, [3]string, []string, map[int]int, map[string]string, etc.
Keys returns the keys of the map m in indeterminate order.
NewMockBeanDefinition creates a new mock instance.
NewMockBeanSelector creates a new mock instance.
NewMockConverter creates a new mock instance.
NewPanicCond returns a panic condition.
Panic returns a panic condition that throws an error.
Panicf returns a panic condition that throws a formatted error.
PatchValue makes an unexported field can be assignable.
ReturnNothing returns whether the function has no return value.
ReturnOnlyError returns whether the function returns only error value.
SortedKeys returns the keys of the map m in sorted order.
TypeName returns a fully qualified name consisting of package path and type name.
# Structs
MockBeanDefinition is a mock of BeanDefinition interface.
MockBeanDefinitionMockRecorder is the mock recorder for MockBeanDefinition.
MockBeanSelector is a mock of BeanSelector interface.
MockBeanSelectorMockRecorder is the mock recorder for MockBeanSelector.
MockConverter is a mock of Converter interface.
MockConverterMockRecorder is the mock recorder for MockConverter.
PanicCond panic condition.
# Interfaces
A BeanDefinition describes a bean whose lifecycle is managed by IoC container.
A BeanSelector can be the ID of a bean, a `reflect.Type`, a pointer such as `(*error)(nil)`, or a BeanDefinition value.
Converter converts string value into user-defined value.