conv

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes2String

func Bytes2String(data []byte) string

Bytes2String []byte转换为string

func String2Bytes

func String2Bytes(str string) []byte

String2Byte string转换为[]byte

func ToJson

func ToJson(data interface{}) (string, error)

ToJson 转json字符串

func Unicode2UTF8 added in v1.0.2

func Unicode2UTF8(str string) string

Unicode2UTF8 转换为utf-8字符串 https://studygolang.com/topics/1335

Types

This section is empty.

Jump to

Keyboard shortcuts

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