getting data from slice of string and population strutct go lang code example Example: go add to slice var s []int s = append(s, 0)