Ordered json output & Disallow unknown fields

This commit is contained in:
世界
2022-07-03 11:28:15 +08:00
parent 71d9772913
commit d8cff01c4a
16 changed files with 243 additions and 26 deletions

View File

@@ -1,8 +1,9 @@
package option
import (
"encoding/json"
"net/netip"
"github.com/goccy/go-json"
)
type ListenAddress netip.Addr