diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conn/config.zig (renamed from src/config.zig) | 0 | ||||
-rw-r--r-- | src/conn/conn.zig (renamed from src/conn.zig) | 10 | ||||
-rw-r--r-- | src/main.zig | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/config.zig b/src/conn/config.zig index b4e7cff..b4e7cff 100644 --- a/src/config.zig +++ b/src/conn/config.zig diff --git a/src/conn.zig b/src/conn/conn.zig index f9f4fb5..1b2bf2d 100644 --- a/src/conn.zig +++ b/src/conn/conn.zig @@ -2,11 +2,11 @@ const std = @import("std"); const log = std.log.scoped(.pgz); const SSHashMap = std.StringHashMap([]const u8); const Config = @import("config.zig"); -const Proto = @import("proto/proto.zig"); -const read_message = @import("main.zig").read_message; -const ProtocolError = @import("main.zig").ProtocolError; -const ServerError = @import("main.zig").ServerError; -const diagnosticReader = @import("main.zig").diagnosticReader; +const Proto = @import("../proto/proto.zig"); +const read_message = @import("../main.zig").read_message; +const ProtocolError = @import("../main.zig").ProtocolError; +const ServerError = @import("../main.zig").ServerError; +const diagnosticReader = @import("../main.zig").diagnosticReader; const Conn = @This(); diff --git a/src/main.zig b/src/main.zig index f5941b7..c8a9d8e 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,7 +1,5 @@ const std = @import("std"); const testing = std.testing; -const Conn = @import("conn.zig"); -const Proto = @import("proto/proto.zig"); pub const ProtocolError = error{ InvalidProtocolVersion, @@ -106,6 +104,8 @@ test "diagnostc reader" { } test { + const Conn = @import("conn/conn.zig"); + const Proto = @import("proto/proto.zig"); _ = Proto; _ = Conn; } |