about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/structs/crumb.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/structs/crumb.go b/src/structs/crumb.go
new file mode 100644
index 0000000..f96b1fa
--- /dev/null
+++ b/src/structs/crumb.go
@@ -0,0 +1,10 @@
+package structs
+
+// Breadcrumbs defines a list of crumbs
+type Breadcrumbs []Crumb
+
+// Crumb defines a path segment
+type Crumb struct {
+	Text string
+	Link string
+}