util

package
v10.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSpacePrefix

func AddSpacePrefix(str string) string

AddSpacePrefix 添加空格前缀

func EqualAsString

func EqualAsString(a interface{}, b interface{}) bool

EqualAsString 字符串比较

func IsBlank

func IsBlank(value reflect.Value) bool

IsBlank 判断空值

func StrInSlice

func StrInSlice(a string, list []string) bool

StrInSlice 查找字符串切片是否包含指定字符串

func ToString

func ToString(str interface{}) string

ToString 转换结果到字符串

func Underscore

func Underscore(name string) string

Underscore Name convert to underscore string

Types

This section is empty.

Jump to

Keyboard shortcuts

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