aboutsummaryrefslogtreecommitdiffhomepage
path: root/output/docshelper.go
diff options
context:
space:
mode:
Diffstat (limited to 'output/docshelper.go')
-rw-r--r--output/docshelper.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/output/docshelper.go b/output/docshelper.go
index 450c323d1..42b871ab5 100644
--- a/output/docshelper.go
+++ b/output/docshelper.go
@@ -23,7 +23,6 @@ func init() {
}
func createLayoutExamples() interface{} {
-
type Example struct {
Example string
Kind string
@@ -78,11 +77,11 @@ func createLayoutExamples() interface{} {
Kind: example.d.Kind,
OutputFormat: example.f.Name,
Suffix: example.f.MediaType.Suffix(),
- Layouts: makeLayoutsPresentable(layouts)})
+ Layouts: makeLayoutsPresentable(layouts),
+ })
}
return basicExamples
-
}
func makeLayoutsPresentable(l []string) []string {