common

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2018 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilesBase64 added in v0.5.1

func GetFilesBase64(list []string) (result string, err error)

func GetFullPath

func GetFullPath(path string) (fullPath string)

func GetMaxLength

func GetMaxLength(list []string) (MaxLength int)

func IsExist

func IsExist(filename string) bool

func MapReduce

func MapReduce(map1, map2 map[string]interface{}) map[string]interface{}

func MapToStruct

func MapToStruct(mapVal map[string]interface{}, val interface{}) (ok bool)

func StructToMap

func StructToMap(val interface{}) (mapVal map[string]interface{}, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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