Skip to content

Instantly share code, notes, and snippets.

@naokij
Created May 29, 2014 08:54
Show Gist options
  • Save naokij/0550005be8d469b9bf78 to your computer and use it in GitHub Desktop.
Save naokij/0550005be8d469b9bf78 to your computer and use it in GitHub Desktop.
go语言map中的坑
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