fix: json field tag syntax

sync ad4f41e1c0
pull/1725/head
Kslr 2019-06-03 14:52:35 +08:00
parent b0edbec53e
commit eb3df1a58e
1 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@ import (
) )
type DnsOutboundConfig struct { type DnsOutboundConfig struct {
Network Network `json:network` Network Network `json:"network"`
Address *Address `json:address` Address *Address `json:"address"`
Port uint16 `json:port` Port uint16 `json:"port"`
} }
func (c *DnsOutboundConfig) Build() (proto.Message, error) { func (c *DnsOutboundConfig) Build() (proto.Message, error) {