Skip to content

Commit

Permalink
use go_json
Browse files Browse the repository at this point in the history
  • Loading branch information
Дмитрий Гуляченков committed Aug 31, 2023
1 parent a9b646a commit d233a42
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ module github.com/carlmjohnson/requests

go 1.20

require golang.org/x/net v0.7.0
require (
github.com/goccy/go-json v0.10.2
golang.org/x/net v0.7.0
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package requests
import (
"bufio"
"bytes"
"encoding/json"
"io"
"net/http"
"os"
"path/filepath"
"strings"

"github.com/goccy/go-json"
"golang.org/x/net/html"
)

Expand Down

0 comments on commit d233a42

Please sign in to comment.