summaryrefslogtreecommitdiff
path: root/src/routes.rs
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-11-12 20:53:18 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-11-12 20:53:18 +0100
commit6a762589e2f557cb1b2096c6e8d888129c3e2fca (patch)
tree09f779034fa564f3b97d9fe86158b2f3acb887e1 /src/routes.rs
parent6d57e0d0da0bbe5461acfb0b1809f5d22a5b4fcc (diff)
basic routing for songs
Diffstat (limited to 'src/routes.rs')
-rw-r--r--src/routes.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/routes.rs b/src/routes.rs
index e69de29..6195f32 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -0,0 +1,9 @@
+use serde::Serialize;
+
+pub mod song;
+
+#[derive(Serialize)]
+pub struct Song {
+ name: Option<String>,
+ lyrics: Option<String>,
+}