func NewClient(httpClient *http.Client) *Client {
	if httpClient == nil {
		httpClient = http.DefaultClient
	}

	baseURL, _ := url.Parse(baseURL)
	c := &Client{
		httpClient: httpClient,
		BaseURL:    baseURL,
		UserAgent:  userAgent,
	}
	return c
}
// Returns a new Systembolaget API client. If a nil
// httpClient is provided, http.DefaultClient will be used.
Returns a new Systembolaget API client. If a nil
httpClient is provided, http.DefaultClient will be used.
// Returns a new Systembolaget API client . If a nil // httpClient is provided http . DefaultClient will be used .
func NewClient(httpClient *http.Client) *Client {
	if httpClient == nil {
		httpClient = http.DefaultClient
	}
	baseURL, _ := url.Parse(baseURL)
	c := &Client{
		httpClient: httpClient,
		BaseURL:    baseURL,
		UserAgent:  userAgent,
	}
	return c
}
func NewClient ( httpClient * http . Client ) * Client { if httpClient == nil { httpClient = http . DefaultClient } baseURL , _ := url . Parse ( baseURL ) c := & Client { httpClient : httpClient , BaseURL : baseURL , UserAgent : userAgent , } return c }
Returns a new Systembolaget API client.
Returns a new Systembolaget API client .