helper

package
v1.3.111 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 15 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) (ret *remote.Object, err *cd.Result)

GetObject get object

func GetObjectValue added in v1.3.28

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

GetObjectValue get object value

func GetSliceObjectValue added in v1.3.28

func GetSliceObjectValue(sliceEntity any) (ret *remote.SliceObjectValue, err *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