Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrconvWrapper ¶
type StrconvWrapper struct{}
func (*StrconvWrapper) FormatBool ¶
func (s *StrconvWrapper) FormatBool(b bool) string
func (*StrconvWrapper) FormatFloat ¶
func (s *StrconvWrapper) FormatFloat(f float64, fmt byte, prec, bitSize int) string
func (*StrconvWrapper) FormatUint ¶
func (s *StrconvWrapper) FormatUint(i uint64, base int) string
type UnitPrintMock ¶ added in v1.5.7
type UnitPrintMock struct {
// contains filtered or unexported fields
}
func NewUnitPrintMock ¶ added in v1.5.7
func NewUnitPrintMock() *UnitPrintMock
NewUnitPrintMock 用于初始化单测的的print mock
func (*UnitPrintMock) Debug ¶ added in v1.5.7
func (imp *UnitPrintMock) Debug(a ...interface{})
Debug 用于mock脚本中的println
func (*UnitPrintMock) Debugf ¶ added in v1.5.7
func (imp *UnitPrintMock) Debugf(format string, a ...interface{})
Debugf 用于mock脚本中的println
func (*UnitPrintMock) Get ¶ added in v1.5.7
func (imp *UnitPrintMock) Get(key int) string
Get 获取打印的信息
Click to show internal directories.
Click to hide internal directories.