<commit_before>package client

import (
	"net/http"
	"net/url"
	"socialapi/models"
	"socialapi/workers/common/response"
	"socialapi/workers/helper"
)

// Location returns the current approximate location of the requester
func Location(u *url.URL, h http.Header, c *models.Context) {
	record, err := helper.MustGetGeoIPDB().City(c.Client.IP)<commit_msg>geoip: return arguments are don correctly<commit_after>package client

import (
	"net/http"
	"net/url"
	"socialapi/models"
	"socialapi/workers/common/response"
	"socialapi/workers/helper"
)

// Location returns the current approximate location of the requester
func Location(u *url.URL, h http.Header, c *models.Context) (int, http.Header, interface{}, error) {
	record, err := helper.MustGetGeoIPDB().City(c.Client.IP)
{'fraction_non_alphanumeric': 0.1309987029831388, 'fraction_numerical': 0.0, 'mean_word_length': 5.276422764227642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2886744', 'n_tokens_mistral': 255, 'n_tokens_neox': 253, 'n_words': 62}