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: token_1.13.go
    path of file: ./repos/octant/vendor/github.com/Azure/go-autorest/autorest/adal
    
    the code of the file until where you have to start completion: // +build go1.13

// Copyright 2017 Microsoft Corporation
//
//  Licensed under th
    
func getMSIEndpoint(ctx context.Context, sender Sender) (*http.Response, error) {
	// this cannot fail, the return sig is due to legacy reasons
	msiEndpoint, _ := GetMSIVMEndpoint()
	tempCtx, cancel := context.WithTimeout(ctx, 500*time.Millisecond)
	defer cancel()
	// http.NewRequestWithContext() was added in Go 1.13
	req, _ := http.NewRequestWithContext(tempCtx, http.MethodGet, msiEndpoint, nil)
	q := req.URL.Query()
	q.Add("api-version", msiAPIVersion)
	req.URL.RawQuery = q.Encode()
	return sender.Do(req)
}