File tree 12 files changed +11
-11
lines changed
12 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
package cmd
2
2
3
3
import (
4
+ "log/slog"
4
5
"os"
5
6
"path"
6
7
7
8
"github.com/gatecheckdev/gatecheck/pkg/gatecheck"
8
- "github.com/sagikazarmark/slog-shim"
9
9
"github.com/spf13/cobra"
10
10
)
11
11
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ require (
8
8
github.com/lmittmann/tint v1.0.4
9
9
github.com/olekukonko/tablewriter v0.0.5
10
10
github.com/pelletier/go-toml/v2 v2.2.2
11
- github.com/sagikazarmark/slog-shim v0.1.0
12
11
github.com/spf13/cobra v1.8.0
13
12
github.com/spf13/viper v1.18.2
14
13
gopkg.in/yaml.v3 v3.0.1
@@ -24,6 +23,7 @@ require (
24
23
github.com/rivo/uniseg v0.4.7 // indirect
25
24
github.com/rogpeppe/go-internal v1.12.0 // indirect
26
25
github.com/sagikazarmark/locafero v0.4.0 // indirect
26
+ github.com/sagikazarmark/slog-shim v0.1.0 // indirect
27
27
github.com/sourcegraph/conc v0.3.0 // indirect
28
28
github.com/spf13/afero v1.11.0 // indirect
29
29
github.com/spf13/cast v1.6.0 // indirect
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 4
4
"io"
5
5
"net/http"
6
6
7
- "github.com/gatecheckdev/gatecheck/pkg/epss/v1 "
8
- "github.com/gatecheckdev/gatecheck/pkg/kev/v1 "
7
+ "github.com/gatecheckdev/gatecheck/pkg/epss"
8
+ "github.com/gatecheckdev/gatecheck/pkg/kev"
9
9
)
10
10
11
11
type fetchOptions struct {
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import (
11
11
"strings"
12
12
13
13
"github.com/gatecheckdev/gatecheck/pkg/archive"
14
- "github.com/gatecheckdev/gatecheck/pkg/artifacts/v1 "
15
- "github.com/gatecheckdev/gatecheck/pkg/epss/v1 "
14
+ "github.com/gatecheckdev/gatecheck/pkg/artifacts"
15
+ "github.com/gatecheckdev/gatecheck/pkg/epss"
16
16
"github.com/gatecheckdev/gatecheck/pkg/format"
17
17
"github.com/olekukonko/tablewriter"
18
18
)
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import (
11
11
"strings"
12
12
13
13
"github.com/gatecheckdev/gatecheck/pkg/archive"
14
- "github.com/gatecheckdev/gatecheck/pkg/artifacts/v1 "
15
- "github.com/gatecheckdev/gatecheck/pkg/epss/v1 "
16
- "github.com/gatecheckdev/gatecheck/pkg/kev/v1 "
14
+ "github.com/gatecheckdev/gatecheck/pkg/artifacts"
15
+ "github.com/gatecheckdev/gatecheck/pkg/epss"
16
+ "github.com/gatecheckdev/gatecheck/pkg/kev"
17
17
)
18
18
19
19
var ErrValidationFailure = errors .New ("Validation Failure" )
Original file line number Diff line number Diff line change 6
6
"testing"
7
7
"time"
8
8
9
- "github.com/gatecheckdev/gatecheck/pkg/artifacts/v1 "
9
+ "github.com/gatecheckdev/gatecheck/pkg/artifacts"
10
10
"github.com/lmittmann/tint"
11
11
)
12
12
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import (
5
5
"encoding/json"
6
6
"errors"
7
7
"io"
8
+ "log/slog"
8
9
"net/http"
9
10
"time"
10
11
11
12
"github.com/dustin/go-humanize"
12
- "github.com/sagikazarmark/slog-shim"
13
13
)
14
14
15
15
const DefaultBaseURL = "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json"
You can’t perform that action at this time.
0 commit comments