strings

package
v0.0.0-...-42cc2d4 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(str string) string

Base64Decode base64解析

func Base64Encode

func Base64Encode(str string) string

Base64Encode base64编码

func BytesToStr

func BytesToStr(b []byte) string

BytesToStr bytes转string

func Empty

func Empty(val interface{}) bool

func Md5

func Md5(data string) string

func Serialize

func Serialize(data interface{}) ([]byte, error)

Serialize 序列化

func StrToBytes

func StrToBytes(s string) []byte

StrToBytes string转bytes

func SubStr

func SubStr(str string, offset int, length int) string

func UnSerialize

func UnSerialize(str string) interface{}

UnSerialize 反序列化

Types

This section is empty.

Jump to

Keyboard shortcuts

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