creating speak streaming client and api #39
Annotations
7 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/live/client.go#L821
emptyStringTest: replace `len(sentence) == 0` with `sentence == ""` (gocritic)
|
Lint:
pkg/client/speak/client_stream.go#L385
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
pkg/client/live/client.go#L285
cyclomatic complexity 21 of func `(*Client).listen` is high (> 20) (gocyclo)
|
Lint:
pkg/api/speak-stream/v1/default.go#L115
printf: fmt.Printf format %s has arg fr.SequenceID of wrong type int (govet)
|
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/.
|