this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

sonar: just use stdlib json (removing go-json dependency) (#1036)

Fine to use this elsewhere for perf, but let's get it out of this
dependency tree.

(note: this is not actually related to recent serialization bug, just
cleaning this up)

authored by

bnewbold and committed by
GitHub
05f18059 e2741b8d

+3 -2
+1 -1
cmd/sonar/sonar.go
··· 3 3 import ( 4 4 "bytes" 5 5 "context" 6 + "encoding/json" 6 7 "fmt" 7 8 "log/slog" 8 9 "os" ··· 14 15 comatproto "github.com/bluesky-social/indigo/api/atproto" 15 16 "github.com/bluesky-social/indigo/api/bsky" 16 17 lexutil "github.com/bluesky-social/indigo/lex/util" 17 - "github.com/goccy/go-json" 18 18 19 19 "github.com/bluesky-social/indigo/events" 20 20 "github.com/bluesky-social/indigo/repo"
+2 -1
go.mod
··· 1 1 module github.com/bluesky-social/indigo 2 2 3 3 go 1.23 4 + 4 5 toolchain go1.23.8 5 6 6 7 require ( ··· 15 16 github.com/dustinkirkland/golang-petname v0.0.0-20231002161417-6a283f1aaaf2 16 17 github.com/flosch/pongo2/v6 v6.0.0 17 18 github.com/go-redis/cache/v9 v9.0.0 18 - github.com/goccy/go-json v0.10.2 19 19 github.com/gocql/gocql v1.7.0 20 20 github.com/golang-jwt/jwt v3.2.2+incompatible 21 21 github.com/gorilla/websocket v1.5.1 ··· 90 90 github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect 91 91 github.com/getsentry/sentry-go v0.27.0 // indirect 92 92 github.com/go-redis/redis v6.15.9+incompatible // indirect 93 + github.com/goccy/go-json v0.10.2 // indirect 93 94 github.com/golang/snappy v0.0.4 // indirect 94 95 github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect 95 96 github.com/hashicorp/golang-lru v1.0.2 // indirect