utils

package
v0.0.0-...-55427f5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credentials

func Credentials() (string, string)

func CredentialsRetype

func CredentialsRetype() (string, string, string)

func GenUUID

func GenUUID() (string, error)

func Map2File

func Map2File(mapobj map[string]interface{}, filename string) error

func ReadJsonFile2Map

func ReadJsonFile2Map(filename string) (map[string]interface{}, error)

func RemoveSlice

func RemoveSlice(slice []interface{}, start, end int) []interface{}

func Str2Map

func Str2Map(jsonStr string) (map[string]interface{}, error)

func Struct2File

func Struct2File(obj interface{}) error

func Struct2Map

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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