util

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrGetByPathNotFound = fmt.Errorf("path not found")

Functions

func ConvertListToAny

func ConvertListToAny[T any](list []T) []any

func FormatNumberWithPrecision

func FormatNumberWithPrecision(number string, precision int) string

func GetByPath

func GetByPath[T any](stateData any, path string) (T, error)

func SHA256Signature

func SHA256Signature(data []byte, secretKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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