You are facing an error that says you are not using the correct type, a slice of string!
cannot use reg (variable of type [3]string) as type []string in argument to strings.Join
Yes, you are sending an array (which is not a slice) as an argument into the join function.
Take a look at this example:
package main
import (
"fmt"
"strings"
)
func main() {
list := [...]string{"a", "b", "c"} // this creates an array
fmt.Println(strings.Join(list, ",")) // Bad, remove this line
fmt.Println(strings.Join(list[:], ",")) // Good
}