Documentation
¶
Index ¶
- type Bool
- type Bytes
- type Float32
- type Float64
- type Int
- type Int16
- type Int32
- type Int64
- type Int8
- type Logger
- type MSBool
- type MSByte
- type MSInt
- type MSInt16
- type MSInt32
- type MSInt64
- type MSInt8
- type MSString
- type MSUint
- type MSUint16
- type MSUint32
- type MSUint64
- type MSUint8
- type Map
- type MapAny
- type SBool
- type SByte
- type SInt
- type SInt16
- type SInt32
- type SInt64
- type SInt8
- type SString
- type SUint
- type SUint16
- type SUint32
- type SUint64
- type SUint8
- type Slices
- type String
- type Uint
- type Uint16
- type Uint32
- type Uint64
- type Uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float32 ¶
type Float32 interface {
Float32() float32 // 返回对象的 float32 类型值
}
Float32 定义了返回 float32 类型值的接口
type Float64 ¶
type Float64 interface {
Float64() float64 // 返回对象的 float64 类型值
}
Float64 定义了返回 float64 类型值的接口
type Logger ¶
type Logger interface { // Debug 记录调试级别的日志,参数为任意类型的值 Debug(v ...interface{}) // Info 记录信息级别的日志,参数为任意类型的值 Info(v ...interface{}) // Warn 记录警告级别的日志,参数为任意类型的值 Warn(v ...interface{}) // Error 记录错误级别的日志,参数为任意类型的值 Error(v ...interface{}) // Fatal 记录致命错误级别的日志,参数为任意类型的值,通常会导致程序退出 Fatal(v ...interface{}) // Debugf 记录调试级别的日志,支持格式化字符串和参数 Debugf(format string, v ...interface{}) // Infof 记录信息级别的日志,支持格式化字符串和参数 Infof(format string, v ...interface{}) // Warnf 记录警告级别的日志,支持格式化字符串和参数 Warnf(format string, v ...interface{}) // Errorf 记录错误级别的日志,支持格式化字符串和参数 Errorf(format string, v ...interface{}) // Fatalf 记录致命错误级别的日志,支持格式化字符串和参数,通常会导致程序退出 Fatalf(format string, v ...interface{}) }
Logger 定义了日志记录器的接口,支持不同级别的日志记录和格式化输出
type Uint16 ¶
type Uint16 interface {
Uint16() uint16 // 返回对象的 uint16 类型值
}
Uint16 定义了返回 uint16 类型值的接口
type Uint32 ¶
type Uint32 interface {
Uint32() uint32 // 返回对象的 uint32 类型值
}
Uint32 定义了返回 uint32 类型值的接口
Click to show internal directories.
Click to hide internal directories.