Merge pull request #4 from boypt/fixvet

fix: json field tag syntax
This commit is contained in:
Kslr
2019-05-31 21:27:06 +08:00
committed by GitHub
+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) {