This commit is contained in:
jaina heartles 2022-07-10 17:10:15 -07:00
parent c130391186
commit 80c94711ae
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ pub const Database = struct {
pub fn getNote(_: *Database, alloc: std.mem.Allocator) !models.Note {
return try clone(alloc, models.Note{
.id = "1",
.content = "abcd",
});
}

View File

@ -1,3 +1,4 @@
pub const Note = struct {
id: []const u8,
content: []const u8,
};