Fix lint
This commit is contained in:
parent
b74f92ed28
commit
494953fb78
2 changed files with 5 additions and 6 deletions
|
|
@ -12,14 +12,13 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
"regexp"
|
|
||||||
|
|
||||||
"github.com/sipeed/picoclaw/pkg/bus"
|
"github.com/sipeed/picoclaw/pkg/bus"
|
||||||
"github.com/sipeed/picoclaw/pkg/channels"
|
"github.com/sipeed/picoclaw/pkg/channels"
|
||||||
"github.com/sipeed/picoclaw/pkg/config"
|
"github.com/sipeed/picoclaw/pkg/config"
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,10 @@ func TestGroqTranscriberName(t *testing.T) {
|
||||||
|
|
||||||
func TestDetectTranscriber(t *testing.T) {
|
func TestDetectTranscriber(t *testing.T) {
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
cfg *config.Config
|
cfg *config.Config
|
||||||
wantNil bool
|
wantNil bool
|
||||||
wantName string
|
wantName string
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "no config",
|
name: "no config",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue