about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-15 21:31:36 +0100
committerEmile <hanemile@protonmail.com>2020-03-15 21:31:36 +0100
commit8f75b7285b7d1c48fb11124be6b85a1a7a5e28fe (patch)
treeecfcde541e1312a140f6c644a1090e28a3051727 /src
parent808cd5f8b53e37d250e3842419db394a5319f453 (diff)
crumbs
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
+}