1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Bumped Go version to Go 1.21. Using log/slog instead of golang.org/x/exp/slog

This commit is contained in:
Christian Banse 2024-04-23 15:37:43 +02:00
parent fb1cf32e17
commit 9b1480ae3d
19 changed files with 21 additions and 33 deletions

View file

@ -9,9 +9,8 @@
package options
import (
"log/slog"
"strings"
"golang.org/x/exp/slog"
)
// LogLevel implements a helper type to be used in configurations.

View file

@ -9,9 +9,8 @@
package options
import (
"log/slog"
"testing"
"golang.org/x/exp/slog"
)
func TestMarshalFlag(t *testing.T) {

View file

@ -12,14 +12,14 @@ package options
import (
"fmt"
"log"
"log/slog"
"os"
"github.com/csaf-poc/csaf_distribution/v3/util"
"github.com/BurntSushi/toml"
"github.com/jessevdk/go-flags"
"github.com/mitchellh/go-homedir"
"github.com/csaf-poc/csaf_distribution/v3/util"
"golang.org/x/exp/slog"
)
// Parser helps parsing command line arguments and loading