From 8f75b7285b7d1c48fb11124be6b85a1a7a5e28fe Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 15 Mar 2020 21:31:36 +0100 Subject: crumbs --- src/structs/crumb.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/structs/crumb.go (limited to 'src/structs') 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 +} -- cgit 1.4.1