conv

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntPtrTo64

func IntPtrTo64(ptr interface{}) (value int64)

func MapToStruct

func MapToStruct(data map[string]interface{}, obj interface{}) error

MapToStruct map转Struct

func String

func String(bytes *[]byte) *string

[]byte to string

func StructToMap

func StructToMap(obj interface{}) map[string]interface{}

StructToMap struct 转Map

func UintPtrTo64

func UintPtrTo64(ptr interface{}) (value uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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