datautils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get[T any](value any) (v T, err error)

Get 基础数据类型转化。把value转化为指定的数据类型T

func JsonGo

func JsonGo[T any](value any) (T, error)

JsonGo json反序列化

func ToMap

func ToMap(value any) map[string]any

ToMap 把 map 或者 结构体完全转化为 map[any]

Types

This section is empty.

Jump to

Keyboard shortcuts

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