authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-09 16:33:24-07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-09 16:33:24-07:00
log9bbecc6e25ba446060b4417133c9de2eacd63076
tree218f9d29c5db0a19815b3c5fccd8449b3987f43c
parent56d2be5b73a82a3973d1060fc72734da665e485e
signature Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

add baseTypeName decl


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

ulid.zig+1
...@@ -36,6 +36,7 @@ pub const ULID = struct {...@@ -36,6 +36,7 @@ pub const ULID = struct {
36 randomnes: u80,36 randomnes: u80,
3737
38 pub const BaseType = string;38 pub const BaseType = string;
39 pub const baseTypeName = "char(26)";
3940
40 pub fn parse(alloc: std.mem.Allocator, value: BaseType) !ULID {41 pub fn parse(alloc: std.mem.Allocator, value: BaseType) !ULID {
41 if (value.len != 26) return error.Ulid;42 if (value.len != 26) return error.Ulid;