structT

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enter

type Enter[D any] struct{}

func (Enter[T]) AnyToMap

func (e Enter[T]) AnyToMap(obj any) map[string]string

func (Enter[T]) Clone

func (e Enter[T]) Clone(src any, dst any)

func (Enter[T]) CopyStruct

func (e Enter[T]) CopyStruct(src, dst any)

func (Enter[T]) GetStructFields

func (e Enter[T]) GetStructFields(obj any) []string

func (Enter[T]) GetStructJsonTags

func (e Enter[T]) GetStructJsonTags(obj any) []string

func (Enter[T]) Struct2Map

func (e Enter[T]) Struct2Map(obj any) map[string]any

Struct2Map return map

func (Enter[T]) Struct2MapString

func (e Enter[T]) Struct2MapString(obj any) map[string]string

Jump to

Keyboard shortcuts

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