Rename client.zig to curl.zig

This commit is contained in:
oupson 2022-08-20 10:15:38 +02:00
parent ed7a9b8eb4
commit 75a3cf2a97
Signed by: oupson
GPG Key ID: 3BD88615552EFCB7
3 changed files with 4 additions and 3 deletions

View File

@ -4,9 +4,11 @@ const json = std.json;
const sqlite = @import("sqlite.zig");
const twitch = @import("twitch.zig");
const Client = @import("client.zig").Client;
const curl = @import("curl.zig");
const webhook = @import("webhook.zig");
const Client = curl.Client;
const Config = struct {
token: []const u8,
client_id: []const u8,

View File

@ -102,7 +102,6 @@ pub const Client = struct {
const res = json.parse(T, &stream, .{ .allocator = self.allocator, .ignore_unknown_fields = true });
response_buffer.deinit();
return res;
}

View File

@ -1,7 +1,7 @@
const std = @import("std");
const json = std.json;
const Client = @import("client.zig").Client;
const Client = @import("curl.zig").Client;
const App = @import("app.zig");
pub var app: ?App = null;