Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b6d5c34

Browse files
committedAug 19, 2020
Fixed case in json output
1 parent 521f189 commit b6d5c34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cli/lib/examples.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ func runExamplesCommand(cmd *cobra.Command, args []string) {
7676
// feedback.Result implementation
7777

7878
type libraryExamples struct {
79-
Library *rpc.Library
80-
Examples []string
79+
Library *rpc.Library `json:"library"`
80+
Examples []string `json:"examples"`
8181
}
8282

8383
type libraryExamplesResult struct {

0 commit comments

Comments
 (0)
Please sign in to comment.