Some checks failed
CodeQL / Analyze (go) (push) Successful in 6m28s
Docker Image / build-docker (push) Failing after 13m26s
Lint and Testing / lint (push) Successful in 11m17s
Lint and Testing / test (push) Successful in 11m17s
Lint and Testing / golangci (push) Successful in 2m40s
14 lines
304 B
Go
14 lines
304 B
Go
package config
|
|
|
|
// DefaultGarbage returns STT artifact tokens filtered from API/CLI transcript output.
|
|
func DefaultGarbage() []string {
|
|
return []string{"*выбая*"}
|
|
}
|
|
|
|
func (a API) garbagePatterns() []string {
|
|
if a.Garbage == nil {
|
|
return DefaultGarbage()
|
|
}
|
|
return a.Garbage
|
|
}
|