code: func (c *Tracing) RequestMemoryDump() (string, bool, error) {
  	resp, err := gcdmessage.SendCustomReturn(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Tracing.requestMemoryDump"})
  	if err != nil {
  		return "", false, err
  	}
  
  	var chromeData struct {
  		Result struct {
  			DumpGuid string
  			Success  bool
  		}
  	}
  
  	if resp == nil {
  		return "", false, &gcdmessage.ChromeEmptyResponseErr{}
  	}
  
  	// test if error first
  	cerr := &gcdmessage.ChromeErrorResponse{}
  	json.Unmarshal(resp.Data, cerr)
  	if cerr != nil && cerr.Error != nil {
  		return "", false, &gcdmessage.ChromeRequestErr{Resp: cerr}
  	}
  
  	if err := json.Unmarshal(resp.Data, &chromeData); err != nil {
  		return "", false, err
  	}
  
  	return chromeData.Result.DumpGuid, chromeData.Result.Success, nil
  }
docs: // RequestMemoryDump - Request a global memory dump.
  // Returns -  dumpGuid - GUID of the resulting global memory dump. success - True iff the global memory dump succeeded.