util

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DropFieldAtPath

func DropFieldAtPath(path []string, input map[string]interface{}) error

func GetFloatValue

func GetFloatValue(value interface{}) (float64, error)

Helper function to convert value to float64

func GetValueAtPath

func GetValueAtPath(path []string, input map[string]interface{}) interface{}

func SetValueAtPath

func SetValueAtPath(path []string, input map[string]interface{}, value interface{})

func WriteJSON

func WriteJSON(fileName string, state interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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