Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: ["1.21", "1.22", "1.23"]
go-version: ["1.21", "1.22", "1.23", "1.24", "1.25"]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion klogr_slog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (c coordinates) LogValue() slog.Value {
return slog.GroupValue(slog.Attr{Key: "X", Value: slog.IntValue(c.x)}, slog.Attr{Key: "Y", Value: slog.IntValue(c.y)})
}

func ExampleBackground_Slog() {
func ExampleBackground_slog() {
// Temporarily reconfigure for output to stdout, with -v=4.
state := klog.CaptureState()
defer state.Restore()
Expand Down
2 changes: 1 addition & 1 deletion textlogger/textlogger_slog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (c coordinates) LogValue() slog.Value {
return slog.GroupValue(slog.Attr{Key: "X", Value: slog.IntValue(c.x)}, slog.Attr{Key: "Y", Value: slog.IntValue(c.y)})
}

func ExampleNewLogger_Slog() {
func ExampleNewLogger_slog() {
ts, _ := time.Parse(time.RFC3339, "2000-12-24T12:30:40Z")
internal.Pid = 123 // To get consistent output for each run.
config := textlogger.NewConfig(
Expand Down
Loading