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
256 B
Go
14 lines
256 B
Go
//go:build !xlm
|
|
|
|
package punctuation
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"go-whisper-api/config"
|
|
)
|
|
|
|
func newXLM(cfg config.Punctuation) (Restorer, error) {
|
|
return nil, fmt.Errorf("punctuation engine %q requires build tag xlm (run: make build-xlm)", cfg.Engine)
|
|
}
|