github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/compute/v2/diagnostics/results.go (about) 1 package diagnostics 2 3 import ( 4 "github.com/vnpaycloud-console/gophercloud/v2" 5 ) 6 7 type serverDiagnosticsResult struct { 8 gophercloud.Result 9 } 10 11 // Extract interprets any diagnostic response as a map 12 func (r serverDiagnosticsResult) Extract() (map[string]any, error) { 13 var s map[string]any 14 err := r.ExtractInto(&s) 15 return s, err 16 }