diff options
author | Steve <nilslice@gmail.com> | 2016-12-06 15:24:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 15:24:36 -0800 |
commit | f39c1519ab382a343c05163f00f38c83bff3583d (patch) | |
tree | 254f75834f2cb787179f7880b0063e667d8ad234 /content/types.go | |
parent | 5527117e706114c1188afaa10188d96170874047 (diff) | |
parent | 64050ef8065bccdef0aab1748040995c637fe9ed (diff) |
Merge pull request #19 from bosssauce/ponzu-dev
[core] Added account recovery process and content pagination in admin UI
Diffstat (limited to 'content/types.go')
-rw-r--r-- | content/types.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/types.go b/content/types.go index ede2b58..696d589 100644 --- a/content/types.go +++ b/content/types.go @@ -6,13 +6,13 @@ const ( There is no type registered for %[1]s Add this to the file which defines %[1]s{} in the 'content' package: ---------------------------------------------------------------------------+ -func init() { - Types["%[1]s"] = func() interface{} { return new(%[1]s) } -} + + func init() { + Types["%[1]s"] = func() interface{} { return new(%[1]s) } + } ---------------------------------------------------------------------------+ + ` ) |