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.go
    path of file: ./repos/wechat/miniprogram/urllink
    
    the code of the file until where you have to start completion: package urllink

import (
	"fmt"

	"github.com/silenceper/wechat/v2/util"
)

const queryURL = "https://api.weixin.qq.com/wxa/query_urllink"

// ULQueryResult 返回的结果
// https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.query.html 返回值
type ULQueryResult struct {
	util.CommonError

	URLLi
    
func (u *URLLink) Query(urlLink string) (*ULQueryResult, error) {
	accessToken, err := u.GetAccessToken()
	if err != nil {
		return nil, err
	}

	uri := fmt.Sprintf("%s?access_token=%s", queryURL, accessToken)
	response, err := util.PostJSON(uri, map[string]string{"url_link": urlLink})
	if err != nil {
		return nil, err
	}
	var resp ULQueryResult
	err = util.DecodeWithError(response, &resp, "URLLink.Query")
	if err != nil {
		return nil, err
	}
	return &resp, nil
}