rename method

This commit is contained in:
cyber-dream 2022-11-02 13:30:27 +03:00
parent bb446adb6f
commit 0ae1cb8e0d

View File

@ -12,7 +12,7 @@ func ConvertToJSON(g interface{}) []byte {
return g_json return g_json
} }
func ConvertFromJSON(body io.ReadCloser, inter interface{}) { func ConvertResponseFromJSON(body io.ReadCloser, inter interface{}) {
json_err := json.NewDecoder(body).Decode(&inter) json_err := json.NewDecoder(body).Decode(&inter)
_ = json_err //TODO work with errors _ = json_err //TODO work with errors
} }