Skip to content

Commit c0a83ef

Browse files
Update docs/src/content/docs/learn/badges.mdx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 7287c1e commit c0a83ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/src/content/docs/learn/badges.mdx

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ Wails provides a cross-platform badge service for desktop applications. This ser
1414

1515
First, initialize the badge service:
1616

17-
```go
1817
import "github.com/wailsapp/wails/v3/pkg/application"
19-
import "github.com/wailsapp/wails/v3/services/badge"
18+
import "github.com/wailsapp/wails/v3/pkg/services/badge"
2019

2120
// Create a new badge service
2221
badgeService := badge.New()
@@ -27,7 +26,6 @@ app := application.New(application.Options{
2726
application.NewService(badgeService),
2827
},
2928
})
30-
```
3129

3230
## Badge Operations
3331

0 commit comments

Comments
 (0)