diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-03 18:35:29 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-03 18:35:29 -0800 |
commit | 1b1a06b6ec616b7973eb5dc910f3d6dc50329b31 (patch) | |
tree | 7449f2145bd31849cec997569920d9235eb88f4a /system/item | |
parent | c1d9ac15acdc9ea2f389cfcd8eee2ac7db291f87 (diff) |
adding link to Wiki
Diffstat (limited to 'system/item')
-rw-r--r-- | system/item/item.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/item/item.go b/system/item/item.go index 761b2cf..e631b36 100644 --- a/system/item/item.go +++ b/system/item/item.go @@ -12,10 +12,10 @@ import ( "golang.org/x/text/unicode/norm" ) -// Sluggable makes a struct locatable by URL with it's own path +// Sluggable makes a struct locatable by URL with it's own path. // As an Item implementing Sluggable, slugs may overlap. If this is an issue, -// make your content struct (or one which imbeds Item) implement Sluggable -// and it will override the slug created by Item's SetSlug with your struct's +// make your content struct (or one which embeds Item) implement Sluggable +// and it will override the slug created by Item's SetSlug with your own type Sluggable interface { SetSlug(string) ItemSlug() string @@ -62,7 +62,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 coorespond. type Pushable interface { // the values contained by fields returned by Push must strictly be URL paths Push() []string |