summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-07-31 15:36:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-01 13:55:48 +0200
commitf7f549e3a7492c787c6abb4900cc0f57c8ab1826 (patch)
tree18b82b0d343893e0f6e22fac9a6ca5e0f19fc876 /resources
parent6512d128c6d33b86f376764ab1d622a89ea18d20 (diff)
Fix assorted typos
Diffstat (limited to 'resources')
-rw-r--r--resources/page/page.go2
-rw-r--r--resources/resource.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/page/page.go b/resources/page/page.go
index e2c883a8e..00b449607 100644
--- a/resources/page/page.go
+++ b/resources/page/page.go
@@ -219,7 +219,7 @@ type PageWithoutContent interface {
ChildCareProvider
TreeProvider
- // Horisontal navigation
+ // Horizontal navigation
InSectionPositioner
PageRenderProvider
PaginatorProvider
diff --git a/resources/resource.go b/resources/resource.go
index 0aee4a052..92bcbd0fc 100644
--- a/resources/resource.go
+++ b/resources/resource.go
@@ -702,7 +702,7 @@ func (r *Spec) newGenericResourceWithBase(
mediaType media.Type) *genericResource {
if osFileInfo != nil && osFileInfo.IsDir() {
- panic(fmt.Sprintf("dirs nto supported resource types: %v", osFileInfo))
+ panic(fmt.Sprintf("dirs not supported resource types: %v", osFileInfo))
}
// This value is used both to construct URLs and file paths, but start