helper

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convertor

func Convertor[S any](source interface{}) (*S, error)

func MapGet added in v0.1.6

func MapGet[T any](data map[string]interface{}, key string) T

func Marshal

func Marshal(object interface{}) ([]byte, error)

func ToLowerCamelJson added in v0.1.2

func ToLowerCamelJson(snakeJson []byte) ([]byte, error)

func Unmarshal

func Unmarshal[S any](json []byte) (*S, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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