summaryrefslogtreecommitdiff
path: root/system/item
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-02-13 11:31:04 -0800
committerSteve Manuel <nilslice@gmail.com>2017-02-13 11:31:04 -0800
commit39e0708be1b57b5527f4c79708b25067ba50f86e (patch)
tree1150aa8784fa60c49e1d2b894ee8e17cf621ca6c /system/item
parentc20bb5e5fe028480c5596fcf238f81a45d393999 (diff)
fix typo in comment doc
Diffstat (limited to 'system/item')
-rw-r--r--system/item/item.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/item/item.go b/system/item/item.go
index 4a219c8..5b41693 100644
--- a/system/item/item.go
+++ b/system/item/item.go
@@ -65,7 +65,7 @@ type Hideable interface {
// Pushable lets a user define which values of certain struct fields are
// 'pushed' down to a client via HTTP/2 Server Push. All items in the slice
-// should be the json tag names of the struct fields to which they coorespond.
+// should be the json tag names of the struct fields to which they correspond.
type Pushable interface {
// the values contained by fields returned by Push must strictly be URL paths
Push() []string
@@ -74,7 +74,7 @@ type Pushable interface {
// Omittable lets a user define certin fields within a content struct to remove
// from an API response. Helpful when you want data in the CMS, but not entirely
// shown or available from the content API. All items in the slice should be the
-// json tag names of the struct fields to which they coorespond.
+// json tag names of the struct fields to which they correspond.
type Omittable interface {
Omit() []string
}