Hua Audio
0f395ce110
Refactor/asr tts ( #1939 )
...
* refactor: update ASR and TTS implementations
* fix lint
* Integrating asr/tts models w/ new security config
* update documents
* add arbitrary whisper transcriptor support
* update documents
* fix lint
* add mimo tts
2026-04-01 12:21:21 +08:00
Kai Xia
32c864c309
enable dupl check
...
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-03-01 18:17:32 +11:00
Kai Xia
b190e6e910
enable whitespace
...
Whitespace is a linter that checks for unnecessary newlines at the start and end of functions, if, for, etc.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:31:07 +11:00
Kai Xia
d8b164b3d4
enable wastedassign
...
Finds wasted assignment statements.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:31:07 +11:00
Kai Xia
6830790692
enable predeclared
...
Find code that shadows one of Go's predeclared identifiers.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:31:07 +11:00
Kai Xia
4e6589d51f
enable prealloc
...
Find slice declarations that could potentially be pre-allocated.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:31:07 +11:00
Kai Xia
09cf8efde6
enable nakedret
...
Checks that functions with naked returns are not longer than a maximum size (can be zero).
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:31:07 +11:00
Kai Xia
c5e8e19f54
enable misspell
...
Finds commonly misspelled English words.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:14:19 +11:00
Kai Xia
1fab1967d2
enable goprintffuncname
...
Checks that printf-like functions are named with `f` at the end.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:14:19 +11:00
Kai Xia
06daa30e75
enable dogsled
...
Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()).
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:14:19 +11:00
Kai Xia
95f22bc07b
enable bodyclose
...
Checks whether HTTP response body is closed successfully.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-25 21:14:19 +11:00
Kai Xia(夏恺)
100356e8ec
refactor: cleanup dead code and turn on dead code detection in CI ( #515 )
...
* cleanup dead code.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
* add these two back with flag.
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
* fix ci
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
* remove this confusing line
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
* make fmt
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
* remove unused method.
picked up by golangci-lint run
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
---------
Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2026-02-24 21:52:25 +08:00
Artem Yadelskyi
02b4d9fbe2
feat(linter): Fix govet linter
2026-02-20 22:35:16 +02:00
Artem Yadelskyi
9e120f90ea
feat(fmt): Run formatters
2026-02-18 21:48:23 +02:00
Artem Yadelskyi
d9b5f64777
feat(linters): Temporarily disable most linters
2026-02-16 17:13:35 +02:00
Artem Yadelskyi
35670d5a58
feat(linters): Added golangci-lint config & CI job
2026-02-16 13:45:36 +02:00