Skip to content

Commit

Permalink
Merge pull request #5 from m-mizutani/update/use-go-1.21
Browse files Browse the repository at this point in the history
Use Go 1.21 finally
  • Loading branch information
m-mizutani committed Aug 9, 2023
2 parents 9efb054 + d62c907 commit e378eff
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.dccache

3 changes: 2 additions & 1 deletion filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (
"testing"
"time"

"log/slog"

"github.com/m-mizutani/masq"
"golang.org/x/exp/slog"
)

func newLogger(w io.Writer, f func(groups []string, a slog.Attr) slog.Attr) *slog.Logger {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/m-mizutani/masq

go 1.20
go 1.21

require (
github.com/m-mizutani/gt v0.0.0-20221229045033-48cc67569435
Expand Down
2 changes: 1 addition & 1 deletion masq.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"regexp"

"golang.org/x/exp/slog"
"log/slog"
)

const (
Expand Down
3 changes: 2 additions & 1 deletion masq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package masq_test
import (
"os"

"log/slog"

"github.com/m-mizutani/masq"
"golang.org/x/exp/slog"
)

type EmailAddr string
Expand Down

0 comments on commit e378eff

Please sign in to comment.