utils

package
v0.0.0-...-58e64a3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMapForm

func ConvertMapForm(data map[string]interface{}) map[interface{}]interface{}

func Flatten

func Flatten(data map[interface{}]interface{}) map[interface{}]interface{}

func InArray

func InArray(v interface{}, arr interface{}) (exists bool)

func SoftSet

func SoftSet(field reflect.Value, value reflect.Value)

func SoftSetFloat

func SoftSetFloat(field reflect.Value, value reflect.Value)

func SoftSetInt

func SoftSetInt(field reflect.Value, value reflect.Value)

func SoftSetUint

func SoftSetUint(field reflect.Value, value reflect.Value)

func ToCamelCase

func ToCamelCase(s string) string

func ToPascalCase

func ToPascalCase(s 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