util

package
v0.0.0-...-cd87c42 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStackInfo

func GetStackInfo(skip int) (string, int)

获取当前调用信息

func GetStackInfoString

func GetStackInfoString(skip int) string

func StringHashNoCase

func StringHashNoCase(s string) uint32

字符串转为32位整形值

func StripFileName

func StripFileName(filename string, part int) string

将绝对路径按需要的节从右压缩 例如: /server/src/core/util/stack.go中 当cStripPathSection=3 返回 core/util/stack.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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