utils

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneParams added in v0.28.0

func CloneParams(params map[string]interface{}) map[string]interface{}

CloneParams creates a deep copy of a parameter map.

func Max added in v0.28.0

func Max(a, b int) int

Max returns the maximum of two integers.

func ParseJSONResponse

func ParseJSONResponse(response string) (map[string]interface{}, error)

ParseJSONResponse attempts to parse a string response as JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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