replace encoding/json with json-iterator everywhere so we get rid of HTML encoding and maybe be faster.

This commit is contained in:
fiatjaf
2024-12-03 00:42:41 -03:00
parent 932361fe8f
commit fd5cd55f6f
12 changed files with 19 additions and 12 deletions

View File

@@ -2,10 +2,10 @@ package main
import (
"context"
"encoding/json"
"fmt"
"net/url"
"os"
"slices"
"strings"
"sync"
"time"
@@ -15,7 +15,6 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip19"
"github.com/nbd-wtf/go-nostr/nip46"
"golang.org/x/exp/slices"
)
var bunker = &cli.Command{