fix: json field tag syntax

This commit is contained in:
boypt
2019-05-30 16:48:34 +08:00
parent 1a294298e8
commit ad4f41e1c0
+3 -3
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) {