util

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 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 ToString added in v0.1.5

func ToString(v interface{}) string

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