Documentation ¶
Index ¶
- Constants
- Variables
- func FromPtrType(typ reflect.Type) reflect.Type
- func FromPtrTypeOf(obj interface{}) reflect.Type
- func FromPtrValue(val reflect.Value) reflect.Value
- func FromPtrValueOf(obj interface{}) reflect.Value
- func GetExecDirPath() string
- func GetExecFilePath() string
- func InvokeOverloadMethod(obj interface{}, methodName string, params ...interface{}) []reflect.Value
- func MarshalObj(obj interface{}) ([]byte, error)
- func UnmarshalObj(data []byte) (interface{}, error)
- type Initializer
- type TypeInfo
- type TypeMemberInfo
Constants ¶
View Source
const ( Lifecycle_Singleton = 0 Lifecycle_Transient = 1 )
Variables ¶
View Source
var ObjectContainer = objectContainer{/* contains filtered or unexported fields */}
对象容器
View Source
var TypeContainer = typeContainer{/* contains filtered or unexported fields */}
类型容器
Functions ¶
func InvokeOverloadMethod ¶
func InvokeOverloadMethod(obj interface{}, methodName string, params ...interface{}) []reflect.Value
调用重载方法 重载方法的命名规则:MethodNameParamType1_ParamType2
Types ¶
type TypeMemberInfo ¶
类型成员信息
func (TypeMemberInfo) String ¶
func (self TypeMemberInfo) String() string
Click to show internal directories.
Click to hide internal directories.