package main
import (
"fmt"
)
func main() {
a := make(map[string][3]float64)
a["test"] = [3]float64{0.0}
a["test"][0] = 1.0
fmt.Printf("%v", a["test"])
}
Here is the playground demo, which returns error
tmp/sandbox665292783/main.go:9: cannot assign to a["test"][1]
If I print the grammar of a["test"], it returns an array of len 3.