convert

package
v0.0.0-...-d0c8600 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToString

func ByteToString(src []byte) string

ByteToString Byte转String

func MustMarshall

func MustMarshall(v interface{}) []byte

MustMarshall 直接返回JSON序列化后的对象(节省error)

func OnlyASCIICharacters

func OnlyASCIICharacters(source string) bool

OnlyASCIICharacters 检查输入是否全是ASCII字符

func StringToByte

func StringToByte(src string) []byte

StringToByte 注意 - 转换完毕的对象不可更改

Types

This section is empty.

Jump to

Keyboard shortcuts

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