Use jsoniter
This commit is contained in:
@@ -2,7 +2,6 @@ package realdebrid
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
package realdebrid
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
)
|
||||
|
||||
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||||
|
||||
type FileJSON struct {
|
||||
FileSize int `json:"filesize"`
|
||||
Link string `json:"link"`
|
||||
|
||||
Reference in New Issue
Block a user