This commit is contained in:
skiy
2015-10-24 17:55:48 +08:00
parent aa3618337c
commit 601cecff66
3 changed files with 2 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ func main() {
但是如果你想要一个排序的列表你最好使用结构体切片,这样会更有效:
```go
type struct {
type name struct {
key string
value int
}

View File

@@ -26,7 +26,6 @@ func main() {
for k, v := range invMap {
fmt.Printf("Key: %v, Value: %v / ", k, v)
}
fmt.Println()
}
```