creating speak streaming client and api #30
Annotations
9 errors and 1 warning
Lint:
pkg/audio/microphone/microphone.go#L14
could not import github.com/gordonklaus/portaudio (-: go build github.com/gordonklaus/portaudio:
|
Lint:
pkg/client/live/constants.go#L16
`flashInitialDelay` is unused (deadcode)
|
Lint:
pkg/client/speak/constants.go#L14
`flushPeriod` is unused (deadcode)
|
Lint:
pkg/client/speak/constants.go#L15
`flashInitialDelay` is unused (deadcode)
|
Lint:
pkg/client/speak/constants.go#L17
`pingPeriod` is unused (deadcode)
|
Lint:
pkg/client/live/client.go#L821
emptyStringTest: replace `len(sentence) == 0` with `sentence == ""` (gocritic)
|
Lint:
pkg/client/live/client.go#L285
cyclomatic complexity 21 of func `(*Client).listen` is high (> 20) (gocyclo)
|
Lint:
pkg/client/speak/client_stream.go#L279
cyclomatic complexity 21 of func `(*StreamClient).listen` is high (> 20) (gocyclo)
|
Lint:
pkg/client/interfaces/options.go#L78
ST1016: methods on the same type should have the same receiver name (seen 1x "c", 1x "o") (stylecheck)
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|