common

package
v0.0.35-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInvokeParamAndContext

func BuildInvokeParamAndContext(ctx context.Context, params interface{}) (string, string, error)

func BuildInvokeParamsObj

func BuildInvokeParamsObj(ctx context.Context, apiName string, params interface{}) (map[string]interface{}, error)

func BuildInvokeParamsStr

func BuildInvokeParamsStr(ctx context.Context, apiName string, params interface{}) (map[string]interface{}, error)

func BuildInvokeSysParams

func BuildInvokeSysParams(ctx context.Context) map[string]interface{}

func GenBatchResultByRecordIDs added in v0.0.22

func GenBatchResultByRecordIDs(recordIDs []int64, errMap map[int64]string) *structs.BatchResult

func GenBatchResultByRecords added in v0.0.22

func GenBatchResultByRecords(records map[int64]interface{}, errMap map[int64]string) *structs.BatchResult

func GenBatchResultData added in v0.0.22

func GenBatchResultData(id int64, errMap map[int64]string) structs.BatchResultData

Types

This section is empty.

Jump to

Keyboard shortcuts

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