type NetworkInterface struct { Gateway string `json:"gateway"` IPAddress string `json:"ip"` IPPrefixLen int `json:"ip_prefix_len"` MacAddress string `json:"mac"` ... }
I'm pretty confused that the content function is in a backtick, like json:"gateway" .
Is this just a comment, for example //this is the gateway ?
go
harryz Jun 06 '15 at 9:15 2015-06-06 09:15
source share