chore: Turn up golang lint, and fix some minor error handling stuff

This commit is contained in:
jamesread 2026-07-28 22:13:56 +01:00
parent a080f4ee2d
commit e6a232f21b
3 changed files with 3 additions and 3 deletions

View File

@ -15,6 +15,7 @@ import (
"bytes" "bytes"
"context" "context"
"errors"
"fmt" "fmt"
"os" "os"
"os/exec" "os/exec"
@ -22,7 +23,6 @@ import (
"regexp" "regexp"
"strings" "strings"
"sync" "sync"
"errors"
"time" "time"
) )

View File

@ -2,10 +2,10 @@ package executor
import ( import (
"context" "context"
"errors"
"os" "os"
"sync" "sync"
"time" "time"
"errors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@ -3,6 +3,7 @@ package main
import ( import (
"bufio" "bufio"
"encoding/json" "encoding/json"
"errors"
"fmt" "fmt"
"io" "io"
"os" "os"
@ -10,7 +11,6 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"time" "time"
"errors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )