Created
May 29, 2014 08:54
-
-
Save naokij/0550005be8d469b9bf78 to your computer and use it in GitHub Desktop.
go语言map中的坑
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
type HostReport struct { | |
Download string | |
Upload string | |
Traceroute string | |
} | |
func main(){ | |
reports := make(map[string]HostReport) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment