utils

package
v0.0.0-...-7d0d6c4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Display

func Display(name string, x interface{})

func GetJsonString

func GetJsonString(obj interface{}) string

func Int642String

func Int642String(val int64) string

func IntMin

func IntMin(a, b int) int

func Interface2Struct

func Interface2Struct(in interface{}, out interface{}) error

func Marshal

func Marshal(v interface{}) (string, error)

func RuneEqua

func RuneEqua(a, b []rune) bool

func String2Int64

func String2Int64(val string) (int64, error)

func Struct2Map

func Struct2Map(obj interface{}, out *map[string]interface{}) error

func Unmarshal

func Unmarshal(str string, v interface{}) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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