utils

package
v2.0.0-...-2eda2e4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLogFileIgnoreStackPattern

func AddLogFileIgnoreStackPattern(logFilePattern ...*regexp.Regexp)

AddLogFileIgnoreStackPattern file name pattern that will not ignored

func AssertEqual

func AssertEqual(src, dst interface{}) bool

func CheckTruth

func CheckTruth(val interface{}) bool

func ExistsIn

func ExistsIn(a string, list *[]string) bool

func FileWithLineNum

func FileWithLineNum() string

FileWithLineNum return the file name and line number of the current file

func IsValidDBNameChar

func IsValidDBNameChar(c rune) bool

func ToString

func ToString(value interface{}) string

func ToStringKey

func ToStringKey(values ...interface{}) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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