Packages

Elixir client for Google Geolocation and Elevation APIs

Current section

Files

Jump to
geolocation_client lib entities lat_lon.ex
Raw

lib/entities/lat_lon.ex

defmodule GeolocationClient.Entities.LatLon do
@moduledoc """
Represents a latitude and longitude entity.
"""
defstruct [
:latitude,
:longitude,
:accuracy
]
@type t :: %__MODULE__{
latitude: float(),
longitude: float(),
accuracy: float()
}
end