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"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strings"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
"unicode/utf8"
|
||||
|
||||
"regexp"
|
||||
|
||||
"github.com/sipeed/picoclaw/pkg/bus"
|
||||
"github.com/sipeed/picoclaw/pkg/channels"
|
||||
"github.com/sipeed/picoclaw/pkg/config"
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@ func TestGroqTranscriberName(t *testing.T) {
|
|||
|
||||
func TestDetectTranscriber(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
cfg *config.Config
|
||||
wantNil bool
|
||||
wantName string
|
||||
name string
|
||||
cfg *config.Config
|
||||
wantNil bool
|
||||
wantName string
|
||||
}{
|
||||
{
|
||||
name: "no config",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue