utils

package
v5.1.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PackageName = "com.github.zhuxiujia.GoMybatis"

Variables

View Source
var Float64Type = reflect.TypeOf(c_FLOAT64_DEFAULT)

Functions

func CountMethodTps

func CountMethodTps(total float64, now time.Time, info string)

调用次方法 必须加上 defer 关键字!

func CountMethodUseTime

func CountMethodUseTime(now time.Time, info string, duration time.Duration)

调用次方法 必须加上 defer 关键字!

func CreateUUID

func CreateUUID() string

func DurationToString

func DurationToString(duration time.Duration) string

func FixTestExpressionSymbol

func FixTestExpressionSymbol(bytes *[]byte)

补丁:临时解决test表达式,包含<符号时etree 无法解析的问题

func GetGID

func GetGID() int64

func GoroutineID

func GoroutineID() int64

func LowerFieldFirstName

func LowerFieldFirstName(fieldStr string) string

首字母转小写

func NewError

func NewError(StructName string, args ...interface{}) error

func UpperFieldFirstName

func UpperFieldFirstName(fieldStr string) string

首字母转大写

Types

This section is empty.

Jump to

Keyboard shortcuts

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