Golang点点滴滴

收录了 1 篇文章 · 0 人关注

  • Golang点点滴滴之map

    ```go package main import ( "fmt" ) type personInfo struct { ID string Name string Address string } var ( number map[string]int myapp map[string]personInfo ) func main() { number = make(map[string]int, 3) ...