code: func (api *API) DownloadWorker(requestParams *WorkerRequestParams) (WorkerScriptResponse, error) {
  	if requestParams.ScriptName != "" {
  		return api.downloadWorkerWithName(requestParams.ScriptName)
  	}
  	uri := "/zones/" + requestParams.ZoneID + "/workers/script"
  	res, err := api.makeRequest("GET", uri, nil)
  	var r WorkerScriptResponse
  	if err != nil {
  		return r, errors.Wrap(err, errMakeRequestError)
  	}
  	r.Script = string(res)
  	r.Success = true
  	return r, nil
  }
docs: // DownloadWorker fetch raw script content for your worker returns []byte containing worker code js
  //
  // API reference: https://api.cloudflare.com/#worker-script-download-worker