Versions in this module Expand all Collapse all v0 v0.0.2 Apr 23, 2020 Changes in this version + func EncodeURL(api string, params RequestQueries) (string, error) + func GetJSON(url string, response interface{}) error + func GetQuery(req *http.Request, key string) string + func PostForm(url, field, filename string, reader io.Reader, response interface{}) error + func PostFormByFile(url, field, filename string, response interface{}) error + func PostJSON(url string, params interface{}, response interface{}) error + func PostJSONWithBody(url string, params interface{}) (int, []byte, error) + func PostJSONWithBody2(url string, params interface{}) (*http.Response, error) + func RandomString(ln int) string + func TokenAPI(api, token string) (string, error) + type RequestParams map[string]interface + type RequestQueries map[string]string