str

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any2String

func Any2String(v interface{}) (string, error)

func IsEmpty

func IsEmpty(str string) bool

func IsEmptySlice

func IsEmptySlice(v []string) bool

func IsNotEmpty

func IsNotEmpty(str string) bool

func IsNotEmptySlice

func IsNotEmptySlice(v []string) bool

func MustAny2String

func MustAny2String(v interface{}) string

func Size

func Size(str string) int

func SliceAny2Str

func SliceAny2Str(vs []interface{}) ([]string, error)

func SliceByteEqual

func SliceByteEqual(v1, v2 []byte) bool

func SliceStr2Any

func SliceStr2Any(vs []string) []interface{}

func SliceStrEqual

func SliceStrEqual(v1, v2 []string) bool

SliceStrEqual 该方法会影响原来的排序

func SliceStrEqualStrict

func SliceStrEqualStrict(v1, v2 []string) bool

func Str2Any

func Str2Any(v string) interface{}

func Str2Bytes

func Str2Bytes(v string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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