tricks

package
v0.0.0-...-ef1d371 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindInt64Field

func FindInt64Field(spec config.Spec) [][]Key

func RestoreIntField

func RestoreIntField(m map[string]interface{}, fields [][]Key) (err error)

func ToJSON

func ToJSON(spec config.Spec) (data []byte, err error)

Types

type Key

type Key interface{}

Key is the array index or map key. maybe int or string.

Jump to

Keyboard shortcuts

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