Indi
自由人的 BLOG ifttl.com

获取 UNIX 时间戳 now := time.Now().Unix() fmt.Println("type: %T, value: %v", now, now) type: int64, value: 1535031653 向 slice 里追加元素 s := []int{1, 2, 3} s = append(s, 4) fmt.Println(s) [1 2 3 4] 遍历 map m :=…

讨论

还没有评论,来说第一句吧。

自由人的 BLOG 的其他文章