diff options
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) } + } ---------------------------------------------------------------------------+ + ` ) |