Skip to content

Commit a23f583

Browse files
update go ldk examples to remove whisper icon
1 parent 5f620e3 commit a23f583

File tree

94 files changed

+262
-317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+262
-317
lines changed

ldk/go/examples/clipboard/loop/loop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ func (c *Loop) LoopStart(sidekick ldk.Sidekick) error {
5050

5151
go func() {
5252
err = c.sidekick.Whisper().Markdown(ctx, &ldk.WhisperContentMarkdown{
53-
Icon: "bathtub",
5453
Label: "Example Controller Go",
5554
Markdown: "Text from the clipboard: " + text,
5655
})

ldk/go/examples/clipboard/plugin.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"created": "2020-06-22T00:00:00Z",
44
"dependencies": [],
55
"description": "This is an example controller written in Go.",
6-
"icon": "bathtub",
76
"id": "9e9eeb9c-fa4d-471a-8778-088bdb077f97",
87
"name": "Example Go",
98
"organization": "OliveAI",

ldk/go/examples/filesystem-directory/loop/loop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ func (c *Loop) emitExampleWhisper(f ldk.FileInfo) error {
118118

119119
go func() {
120120
err := c.sidekick.Whisper().Markdown(c.ctx, &ldk.WhisperContentMarkdown{
121-
Icon: "bathtub",
122121
Label: "Example Controller Go",
123122
Markdown: markdownBytes.String(),
124123
})

ldk/go/examples/filesystem-directory/plugin.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"created": "2020-06-22T00:00:00Z",
44
"dependencies": [],
55
"description": "This is an example controller written in Go.",
6-
"icon": "bathtub",
76
"id": "9e9eeb9c-fa4d-471a-8778-088bdb077f97",
87
"name": "Example Go",
98
"organization": "OliveAI",

ldk/go/examples/filesystem-file/loop/loop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ func (c *Loop) emitExampleWhisper(f ldk.FileInfo) error {
112112

113113
go func() {
114114
err := c.sidekick.Whisper().Markdown(c.ctx, &ldk.WhisperContentMarkdown{
115-
Icon: "bathtub",
116115
Label: "Example Controller Go",
117116
Markdown: markdownBytes.String(),
118117
})

ldk/go/examples/filesystem-file/plugin.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"created": "2020-06-22T00:00:00Z",
44
"dependencies": [],
55
"description": "This is an example controller written in Go.",
6-
"icon": "bathtub",
76
"id": "9e9eeb9c-fa4d-471a-8778-088bdb077f97",
87
"name": "Example Go",
98
"organization": "OliveAI",

ldk/go/examples/filesystem-listen-directory/loop/loop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ func (c *Loop) emitExampleWhisper(fe ldk.FileEvent) error {
120120

121121
go func() {
122122
err := c.sidekick.Whisper().Markdown(c.ctx, &ldk.WhisperContentMarkdown{
123-
Icon: "bathtub",
124123
Label: "Example Controller Go",
125124
Markdown: markdownBytes.String(),
126125
})

ldk/go/examples/filesystem-listen-directory/plugin.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"created": "2020-06-22T00:00:00Z",
44
"dependencies": [],
55
"description": "This is an example controller written in Go.",
6-
"icon": "bathtub",
76
"id": "9e9eeb9c-fa4d-471a-8778-088bdb077f97",
87
"name": "Example Go",
98
"organization": "OliveAI",

ldk/go/examples/filesystem-listen-file/loop/loop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ func (c *Loop) emitExampleWhisper(fe ldk.FileEvent) error {
120120

121121
go func() {
122122
err := c.sidekick.Whisper().Markdown(c.ctx, &ldk.WhisperContentMarkdown{
123-
Icon: "bathtub",
124123
Label: "Example Controller Go",
125124
Markdown: markdownBytes.String(),
126125
})

ldk/go/examples/filesystem-listen-file/plugin.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"created": "2020-06-22T00:00:00Z",
44
"dependencies": [],
55
"description": "This is an example controller written in Go.",
6-
"icon": "bathtub",
76
"id": "9e9eeb9c-fa4d-471a-8778-088bdb077f97",
87
"name": "Example Go",
98
"organization": "OliveAI",

0 commit comments

Comments
 (0)