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:
parent
fb1cf32e17
commit
9b1480ae3d
19 changed files with 21 additions and 33 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -9,9 +9,8 @@
|
|||
package options
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
"testing"
|
||||
|
||||
"golang.org/x/exp/slog"
|
||||
)
|
||||
|
||||
func TestMarshalFlag(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue