type NetworkInterface struct {
Gateway string `json:"gateway"`
IPAddress string `json:"ip"`
IPPrefixLen int `json:"ip_prefix_len"`
MacAddress string `json:"mac"`
...
}
Sono abbastanza confuso qual è la funzione dei contenuti in backtick, come json:"gateway"
.Qual è l'utilizzo del backtick nella definizione delle strutture golan?
E 'solo un commento, come //this is the gateway
?
Grazie per la spiegazione di nuovo preventivo. – Ben