utils

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataType

func DataType(obj interface{}) string

func GetNamedSQL

func GetNamedSQL(strSql string, argv map[string]interface{}) (string, []interface{})

func Implode

func Implode(glue string, pieces []string) string

func InArray

func InArray(needle interface{}, hystack interface{}) bool

func IsFloat

func IsFloat(obj interface{}) bool

noinspection GoUnusedExportedFunction

func IsFloat64

func IsFloat64(obj interface{}) bool

noinspection GoUnusedExportedFunction

func IsInt

func IsInt(obj interface{}) bool

noinspection GoUnusedExportedFunction

func IsInt64

func IsInt64(obj interface{}) bool

noinspection GoUnusedExportedFunction

func IsString

func IsString(obj interface{}) bool

noinspection GoUnusedExportedFunction

func Md5

func Md5(str string) string

noinspection GoUnusedExportedFunction

func ToStr

func ToStr(obj interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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