util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsInSlice

func ContainsInSlice(items []string, item string) bool

ContainsInSlice 判断字符串是否在 slice 中

func GreenColor

func GreenColor(s interface{}) string

func IsNil

func IsNil(i interface{}) bool

func JsonToMap

func JsonToMap(str string) map[string]interface{}

func MapKeyInIntSlice

func MapKeyInIntSlice(haystack []string, needle string) bool

MapKeyInIntSlice

func RedColor

func RedColor(s interface{}) string

func YellowColor

func YellowColor(s 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