File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package checks
22
33import (
44 "bytes"
5- "encoding/json"
65 "errors"
76 "fmt"
87 "io"
@@ -18,6 +17,7 @@ import (
1817 api "github.com/bootdotdev/bootdev/client"
1918 "github.com/bootdotdev/bootdev/messages"
2019 tea "github.com/charmbracelet/bubbletea"
20+ "github.com/goccy/go-json"
2121 "github.com/itchyny/gojq"
2222 "github.com/spf13/cobra"
2323 "github.com/spf13/viper"
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ package api
22
33import (
44 "bytes"
5- "encoding/json"
65 "errors"
76 "fmt"
87 "io"
98 "net/http"
109
10+ "github.com/goccy/go-json"
1111 "github.com/spf13/viper"
1212)
1313
Original file line number Diff line number Diff line change 11package api
22
33import (
4- "encoding/json"
54 "fmt"
5+
6+ "github.com/goccy/go-json"
67)
78
89type Lesson struct {
Original file line number Diff line number Diff line change 11package render
22
33import (
4- "encoding/json"
54 "fmt"
65 "net/http"
76 "os"
@@ -14,6 +13,7 @@ import (
1413 "github.com/charmbracelet/bubbles/spinner"
1514 tea "github.com/charmbracelet/bubbletea"
1615 "github.com/charmbracelet/lipgloss"
16+ "github.com/goccy/go-json"
1717 "github.com/muesli/termenv"
1818 "github.com/spf13/viper"
1919)
Original file line number Diff line number Diff line change 11package version
22
33import (
4- "encoding/json"
54 "fmt"
65 "io"
76 "net/http"
@@ -10,6 +9,7 @@ import (
109 "slices"
1110 "strings"
1211
12+ "github.com/goccy/go-json"
1313 "golang.org/x/mod/semver"
1414)
1515
You can’t perform that action at this time.
0 commit comments