package elmapi func (e *ELMAPI) GetOrder(orderId string) (map[string]interface{}, error) { result, err := e.AccessELM("eleme.order.getOrder", map[string]interface{}{ "orderId": orderId, }) if err == nil { innerResult := map[string]interface{}(result.Result.(map[string]interface{})) return innerResult, nil } return nil, err }