Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractObjectJMES

func ExtractObjectJMES(old interface{}, pathKey, path string) interface{}

ExtractObjectJMES is used to extract object from old using JMES path

func MergeObject

func MergeObject(old interface{}, new interface{}) interface{}

MergeObject is used to merge object old and new, if overlaps, use new value

func NormalizeJson

func NormalizeJson(input interface{}) string

func ResponseErrorWasNotFound

func ResponseErrorWasNotFound(err error) bool

func ResponseErrorWasStatusCode

func ResponseErrorWasStatusCode(err error, statusCode int) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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