structs

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterDataByObject

func FilterDataByObject(obj any, data map[string]any) map[string]any

根据对象类型过滤map数据

func StructType

func StructType(v any) reflect.Type

Types

type StructField

type StructField struct {
	reflect.StructField
}

func (*StructField) IsStruct

func (f *StructField) IsStruct() bool

func (*StructField) JsonIgnored

func (f *StructField) JsonIgnored() bool

func (*StructField) JsonName

func (f *StructField) JsonName() string

func (*StructField) JsonOmitEmpty

func (f *StructField) JsonOmitEmpty() bool

Jump to

Keyboard shortcuts

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