Ordered json output & Disallow unknown fields

This commit is contained in:
世界
2022-07-03 11:28:15 +08:00
parent 85a695caa1
commit ef5cfd59d4
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