Merge pull request #4 from boypt/fixvet

fix: json field tag syntax
pull/2141/head
Kslr 2019-05-31 21:27:06 +08:00 committed by GitHub
commit 48f5e7e76b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {