package
1.2.0-rc
Repository: https://github.com/go-spring/spring-core.git
Documentation: pkg.go.dev

# Packages

Package assert is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

FileLine returns the file, line number, and function name for a given function.
FlattenMap flattens a nested map, array, or slice into a single-level map with string keys and string values.
FlattenValue flattens a single value (which can be a map, array, slice, or other types) into the result map.
IsBeanInjectionTarget returns true if the provided type t is a valid target for bean injection.
IsBeanType returns true if the provided type t is considered a "bean" type.
IsConstructor returns true if the provided function type t is a constructor.
IsErrorType returns true if the provided type t is an error type, either directly (error) or via an implementation (i.e., implements the error interface).
IsFuncType returns true if the provided type t is a function type.
IsPrimitiveValueType returns true if the provided type t is a primitive value type, such as int, uint, float, bool, or string.
IsPropBindingTarget returns true if the provided type t is a valid target for property binding.
PatchValue modifies an unexported field to make it assignable by modifying the internal flag.
ReturnNothing returns true if the provided function type t has no return values.
ReturnOnlyError returns true if the provided function type t returns only one value, and that value is an error.

# Variables

ForbiddenMethod throws this error when calling a method is prohibited.
UnimplementedMethod throws this error when calling an unimplemented method.