typeutil

package
v4.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToFloat64

func ToFloat64(value interface{}) (float64, error)

ToFloat64 convert a numeric value to float64.

func ToString

func ToString(value interface{}) string

ToString convert a value to string.

Types

type Map

type Map map[string]interface{}

Map is an alias to map[string]interface{} Useful and a cleaner way to create a JSON response object

Jump to

Keyboard shortcuts

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