utils

package
v0.0.0-...-651fe2a Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArrayOfType

func GetArrayOfType(value interface{}) interface{}

GetArrayOfType returns an array of the same type given.

func GetNewOfType

func GetNewOfType(value interface{}) interface{}

GetNewOfType returns a pointer to a new structure of the same type given.

func GetStructName

func GetStructName(value interface{}) string

GetStructName returns the name of the given structure.

func SetObjectFields

func SetObjectFields(object interface{}, fields map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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