Skip to content

Commit

Permalink
fix(sdk/go): fix github action and linter issues (#4494) (#18)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: e59261957bc1734f004554c8125dc7cd017b4f9b
  • Loading branch information
marcusolsson committed Apr 15, 2024
1 parent 805fcc6 commit f7cf945
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
linters:
presets:
- comment
- format
- import
- metalinter
- module
- unused
disable:
- dupword
- godot

linters-settings:
depguard:
rules:
main:
allow:
- $gostd
- nhooyr.io/websocket
- github.com/google
- github.com/stretchr/testify
- github.com/cenkalti/backoff
1 change: 0 additions & 1 deletion realtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ type RealTimeClient struct {
encoding RealTimeEncoding
wordBoost []string
disablePartialTranscripts bool
enableExtraSessionInfo bool
}

func (c *RealTimeClient) isSessionOpen() bool {
Expand Down

0 comments on commit f7cf945

Please sign in to comment.