You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: query-dsl-match-all-query_09d617863a103c82fb4101e6165ea7fe_test.go
    path of file: ./repos/go-elasticsearch/.doc/examples/src
    
    the code of the file until where you have to start completion: // Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the 
    
func Test_query_dsl_match_all_query_09d617863a103c82fb4101e6165ea7fe(t *testing.T) {
	es, _ := elasticsearch.NewDefaultClient()

	// tag:09d617863a103c82fb4101e6165ea7fe[]
	res, err := es.Search(
		es.Search.WithBody(strings.NewReader(`{
		  "query": {
		    "match_all": {}
		  }
		}`)),
		es.Search.WithPretty(),
	)
	fmt.Println(res, err)
	if err != nil { // SKIP
		t.Fatalf("Error getting the response: %s", err) // SKIP
	} // SKIP
	defer res.Body.Close() // SKIP
	// end:09d617863a103c82fb4101e6165ea7fe[]
}