fix: json field tag syntax

pull/2141/head
boypt 2019-05-30 16:48:34 +08:00
parent 1a294298e8
commit ad4f41e1c0
1 changed files with 3 additions and 3 deletions

View File

@ -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) {