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/golangcilint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: "1.25"
lint-version: "v2.6.2"
lint-version: "v2.7.0"
check-latest: true
- uses: actions/checkout@v6
- name: golangci-lint
Expand Down
4 changes: 2 additions & 2 deletions internal/command/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/simplesurance/baur/v5/internal/command/flag"
"github.com/simplesurance/baur/v5/internal/command/term"
"github.com/simplesurance/baur/v5/internal/format/csv"
"github.com/simplesurance/baur/v5/internal/format/json"
"github.com/simplesurance/baur/v5/internal/format/jsonformat"
"github.com/simplesurance/baur/v5/internal/format/table"
"github.com/simplesurance/baur/v5/internal/log"
"github.com/simplesurance/baur/v5/internal/prettyprint"
Expand Down Expand Up @@ -356,7 +356,7 @@ func mustNewFormatter(formatterName string, hdrs []string) Formatter {
case flag.FormatPlain:
return table.New(hdrs, stdout)
case flag.FormatJSON:
return json.New(hdrs, stdout)
return jsonformat.New(hdrs, stdout)
default:
panic(fmt.Sprintf("BUG: newFormatter: unsupported formatter name: %q", formatterName))
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package json
package jsonformat

import (
"encoding/json"
Expand Down
Loading