Golang 中array、map、slice区别与用法
array
[codesyntax lang="c"]
package main
import (
"encoding/json"
"fmt"
)
func test(data [2]string) {
data[0] = "python"
}
func main() {
var testArray = [2]string{
"php",
"java",
}
v, ...