authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-04-26 16:53:58 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-04-26 16:53:58 -07:00
log4d2fb400f08848f207f205cc3f5547f8d265c3e4
treec0e3b7333f26487c38f8a13e7bc26750e00fd687
parent7c9a043e7bbe686f945cd98756b0dc8f4ff422f3
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

dry this a bit


1 files changed, 2 insertions(+), 2 deletions(-)

src/lib.zig+2-2
...@@ -6,7 +6,7 @@ pub const DriverType = enum {...@@ -6,7 +6,7 @@ pub const DriverType = enum {
66
7pub fn Driver(comptime etype: DriverType) type {7pub fn Driver(comptime etype: DriverType) type {
8 return switch (etype) {8 return switch (etype) {
9 .sqlite3 => @import("./sqlite3.zig"),9 .sqlite3 => backend.sqlite,
10 };10 };
11}11}
1212
...@@ -86,6 +86,6 @@ pub const Engine = union(DriverType) {...@@ -86,6 +86,6 @@ pub const Engine = union(DriverType) {
86 }86 }
87};87};
8888
89pub const backer = struct {89pub const backend = struct {
90 pub const sqlite = @import("sqlite");90 pub const sqlite = @import("sqlite");
91};91};