helper

package
v1.3.171 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeObject added in v1.3.28

func DecodeObject(data []byte) (ret *remote.Object, err *cd.Result)

func EncodeObject added in v1.3.28

func EncodeObject(objPtr *remote.Object) (ret []byte, err *cd.Result)

func GetObject added in v1.3.28

func GetObject(entity any) (*remote.Object, *cd.Result)

GetObject get object

func GetObjectValue added in v1.3.28

func GetObjectValue(entity any) (*remote.ObjectValue, *cd.Result)

GetObjectValue get object value

func GetSliceObjectValue added in v1.3.28

func GetSliceObjectValue(sliceEntity any) (*remote.SliceObjectValue, *cd.Result)

GetSliceObjectValue get slice object value

func SerializeEntity added in v1.3.103

func SerializeEntity(entity any, destinationPath string)

func UpdateEntity added in v1.3.28

func UpdateEntity(remoteValue *remote.ObjectValue, localEntity any) (err *cd.Result)

UpdateEntity update object value -> entity

func UpdateSliceEntity added in v1.3.28

func UpdateSliceEntity(remoteValue *remote.SliceObjectValue, localEntity any) (err *cd.Result)

UpdateSliceEntity update slice object value -> entitySlice

Types

This section is empty.

Jump to

Keyboard shortcuts

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