gostring

package
v0.0.0-...-71876dc Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(s string) ([]byte, error)

func Base64Encode

func Base64Encode(b []byte) string

func Base64UrlDecode

func Base64UrlDecode(s string) ([]byte, error)

func Base64UrlEncode

func Base64UrlEncode(b []byte) string

func Int2Str

func Int2Str(i int) string

func IntSlice2StrSlice

func IntSlice2StrSlice(intSlice []int) []string

func JoinIntSlice2String

func JoinIntSlice2String(intSlice []int, sep string) string

func JoinStrings

func JoinStrings(multiString ...string) string

func JsonDecode

func JsonDecode(data []byte, obj interface{})

func JsonEncode

func JsonEncode(obj interface{}) []byte

func Str2Int

func Str2Int(s string) int

func Str2StrSlice

func Str2StrSlice(str, sep string) []string

func StrFilterSliceEmpty

func StrFilterSliceEmpty(strSlice []string) []string

func StrMd5

func StrMd5(s string) string

func StrRandom

func StrRandom(l int) string

func StrSlice2IntSlice

func StrSlice2IntSlice(strSlice []string) []int

func StrSplit2IntSlice

func StrSplit2IntSlice(str, sep string) []int

Types

This section is empty.

Jump to

Keyboard shortcuts

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