utils

package
v3.0.8-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResMap

func GetResMap(resp *http.Response) (map[string]interface{}, error)

GetResMap extract http response body data and turn it into a Map

func SliceStrToInt

func SliceStrToInt(sliceStr []string) ([]int, error)

SliceStrToInt: 将字符串切片转换为整型切片

func ValidateFormData

func ValidateFormData(formData url.Values, keys []string) (bool, string)

ValidateFormData verify that the specified key is empty in formData

Types

This section is empty.

Jump to

Keyboard shortcuts

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