value

package module
v0.0.0-...-4a00754 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 6 Imported by: 2

README

Deprecated!!!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(t string, v string) (i interface{}, e error)

func GetField

func GetField(d interface{}, path string) interface{}

func Hostname

func Hostname(v string) string

func InterfaceToFloat64

func InterfaceToFloat64(v interface{}) float64

func SetField

func SetField(d interface{}, value string, path string) bool

func StringChunks

func StringChunks(s string, size int) (r []string)

func ToBool

func ToBool(v string) bool

func ToFloat

func ToFloat(v string) float64

func ToFloatSep

func ToFloatSep(v, decimalSep, thousandsSep string) float64

func ToInt

func ToInt(v string) int64

func UniqueGeneralStrings

func UniqueGeneralStrings(list []string) (uniq []string)

func UniqueInterfaces

func UniqueInterfaces(list []interface{}) (uniq []interface{})

func UniqueStrings

func UniqueStrings(list []string) (uniq []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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