We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a9f90 commit 6f2ee59Copy full SHA for 6f2ee59
internal/cli/lib/examples.go
@@ -94,11 +94,11 @@ type libraryExamples struct {
94
}
95
96
type libraryExamplesResult struct {
97
- Examples []*libraryExamples
+ Examples []*libraryExamples `json:"examples"`
98
99
100
func (ir libraryExamplesResult) Data() interface{} {
101
- return ir.Examples
+ return ir
102
103
104
func (ir libraryExamplesResult) String() string {
0 commit comments