How to copy a public variable use go?
For example, a public variadble named PublicVar
a := []string{"A", "B"}
b := a
fmt.Printf("%v
", a)
fmt.Printf("%v
", b)
b[0] = "C"
fmt.Printf("%v
", a)
fmt.Printf("%v
", b)
// a has been changed.
The PublicVar's name will be changed, but this is not what I want.
I just want to copy the value of PublicVar.