Minor formatting change

This commit is contained in:
teivah 2022-07-02 23:33:56 +02:00
parent d502acea3b
commit da90424caf
No known key found for this signature in database
GPG key ID: 07E4A13FB8F8DF63

View file

@ -15,9 +15,7 @@ func Handler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusCreated)
}
func (c DurationClient) GetDuration(url string,
lat1, lng1, lat2, lng2 float64) (
time.Duration, error) {
func (c DurationClient) GetDuration(url string, lat1, lng1, lat2, lng2 float64) (time.Duration, error) {
resp, err := c.client.Post(
url, "application/json",
buildRequestBody(lat1, lng1, lat2, lng2),