For example, structure:

 /src
   main.go
   /test
     test1.go
     test2.go

, main.go

package main

import (
    "fmt"
    "./test"
) 

func main(){
    fmt.Println(test.A)
}

test1.go:

package test

var A  = []int{1,2,3}

test2.go:

package test

var A = []int{3,7}

I understand, that it's a wrong code, it throws the error, because I'm redeclaring the variable. I just want to ask, which way should I go to concatenate this same-name variables from files of one package?