summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-12-01 20:31:30 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-12-01 20:31:30 +0100
commit486628f42e5f9b4ab75f35995bce7b46e49995de (patch)
treeebd8881c544ba0b18f84a6a13a2c5b6d8c338297 /src/main.zig
parent9e6837a5fdb672dbf38b1315100a5dac7961b367 (diff)
parameterize locationHEADmaster
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index ba479e9..81317f1 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -9,7 +9,9 @@ pub fn main() !void{
const args = try std.process.argsAlloc(allocator);
defer std.process.argsFree(allocator, args);
- var daily = try weatherFetcher.getDailyData(allocator);
+ var daily = try weatherFetcher.getDailyData(allocator, weatherFetcher.Location{
+ .lat=52.52, .lon=13.41,
+ });
defer daily.deinit();
const stdout = std.io.getStdOut().writer();