utils

package
v0.0.0-...-49281bb Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListToTree

func ListToTree(data []map[string]interface{}) map[uint]map[string]interface{}

func MapValid

func MapValid()

func StructToStruct

func StructToStruct(source interface{}, out interface{}) error

StructToStruct struct covert validate struct

func StructValid

func StructValid()

func ValidateStruct

func ValidateStruct(source interface{}, out interface{}) (bool, error)

ValidateStruct struct covert validate struct and validate

Types

This section is empty.

Directories

Path Synopsis
Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.
Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.

Jump to

Keyboard shortcuts

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