Documentation ¶
Index ¶
- Constants
- func CompareDeleteAndAddList(addList, delList []string) []string
- func Contained(obj, target interface{}) bool
- func GetTimeoutSec(objSize int64) int64
- func IsDuplicateItemExist(itemList []string) []string
- func IsEqual(key string, value interface{}, reqValue interface{}) (bool, error)
- func IsFloatEqual(a, b float64) bool
- func MergeGeneralMaps(maps ...map[string]interface{}) map[string]interface{}
- func MergeStringMaps(maps ...map[string]string) map[string]string
- func PathExists(path string) (bool, error)
- func PrepareUpdateList(currList, addList, delList []string) []string
- func RandSeq(n int, chs []rune) string
- func RandSeqWithAlnum(n int) string
- func ReadBody(r *restful.Request) []byte
- func ResourcesAlreadyExists(currList, newList []string) []string
- func ResourcesCheckBeforeRemove(currList, newList []string) []string
- func Retry(retryNum int, desc string, silent bool, ...) error
- func RvRepElement(arr []string) []string
- func StructToMap(structObj interface{}) (map[string]interface{}, error)
Constants ¶
View Source
const DEFAULT_TIMEOUT_SEC int64 = 5 // Same as the default timeout of go-micro.
View Source
const Epsilon float64 = 0.00000001
Epsilon ...
Variables ¶
This section is empty.
Functions ¶
func CompareDeleteAndAddList ¶ added in v1.3.2
func GetTimeoutSec ¶ added in v0.12.0
func IsDuplicateItemExist ¶ added in v1.3.2
func MergeGeneralMaps ¶
func PathExists ¶
func PrepareUpdateList ¶ added in v1.3.2
func RandSeqWithAlnum ¶
func ResourcesAlreadyExists ¶ added in v1.3.2
func ResourcesCheckBeforeRemove ¶ added in v1.3.2
func StructToMap ¶
StructToMap ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.