mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Migrate contentjson and badjson to library &
Add omitempty in format
This commit is contained in:
parent
e09a94bb9e
commit
38d28e0763
38 changed files with 48 additions and 508 deletions
|
@ -3,7 +3,6 @@ package libbox
|
|||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"net/netip"
|
||||
"os"
|
||||
|
||||
|
@ -15,6 +14,7 @@ import (
|
|||
"github.com/sagernet/sing-tun"
|
||||
"github.com/sagernet/sing/common/control"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
"github.com/sagernet/sing/common/json"
|
||||
"github.com/sagernet/sing/common/logger"
|
||||
"github.com/sagernet/sing/common/x/list"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue