diff options
Diffstat (limited to 'src/structs')
-rw-r--r-- | src/structs/crumb.go | 10 |
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 +} |