Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v1.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

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) FormatInt

func (s *StrconvWrapper) FormatInt(i int64, base 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 获取打印的信息

Directories

Path Synopsis
package必须是main
package必须是main

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL