From ad4f41e1c0fd6096aa738004140ec9ca4f4db1bd Mon Sep 17 00:00:00 2001 From: boypt <1033514+boypt@users.noreply.github.com> Date: Thu, 30 May 2019 16:48:34 +0800 Subject: [PATCH] fix: json field tag syntax --- infra/conf/dns_proxy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/conf/dns_proxy.go b/infra/conf/dns_proxy.go index e93d1ec80..4617ead5e 100644 --- a/infra/conf/dns_proxy.go +++ b/infra/conf/dns_proxy.go @@ -7,9 +7,9 @@ import ( ) type DnsOutboundConfig struct { - Network Network `json:network` - Address *Address `json:address` - Port uint16 `json:port` + Network Network `json:"network"` + Address *Address `json:"address"` + Port uint16 `json:"port"` } func (c *DnsOutboundConfig) Build() (proto.Message, error) {