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: request.go
    path of file: ./repos/bzppx-codepub/app/utils
    
    the code of the file until where you have to start completion: package utils

import (
	"strings"
	"net/url"
	"net/http"
	"io/ioutil"
)

func NewRequest() *Request {
	return &Request{}
}

type Request struct {

}

// http get request
func (utils *Request) Get(queryUrl string, queryValues map[string]string, headerValues map[string]string) (body string, code int, err error) {

	req, err := http.NewRequest("GET", utils.QueryBuilder(queryUrl, queryValues), nil)
	if err != nil {
		return
	}
	if (headerValues != nil) && (len(headerValues) > 0) {
		for key, value := range headerValues {
			req.Header.Set(key, value)
		}
	}

	client := &http.Client{}
	resp, err := client.Do(req)
	code = resp.StatusCode
	defer resp.Body.Close()

	bodyByte, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		return
	}

	return string(bodyByte), code, nil
}

// http post request
func (utils *Request) HttpPost(queryUrl string, queryValues map[string]string, headerValues map[string]string) (body stri
    
func (utils *Request) HttpPost(queryUrl string, queryValues map[string]string, headerValues map[string]string) (body string, code int, err error) {
	if !strings.Contains(queryUrl, "?") {
		queryUrl += "?"
	}
	queryString := ""
	for queryKey, queryValue := range queryValues {
		queryString = queryString + "&" + queryKey + "=" + url.QueryEscape(queryValue)
	}
	queryString = strings.Replace(queryString, "&", "", 1)

	req, err := http.NewRequest("POST", queryUrl, strings.NewReader(queryString))
	if err != nil {
		return
	}
	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
	if (headerValues != nil) && (len(headerValues) > 0) {
		for key, value := range headerValues {
			req.Header.Set(key, value)
		}
	}
	client := &http.Client{}
	resp, err := client.Do(req)
	if err != nil {
		return
	}
	code = resp.StatusCode
	defer resp.Body.Close()

	bodyByte, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		return
	}

	return string(bodyByte), code, nil
}