how to convert go\'s type from uint8 to unit32? Just code:
package main import ( \"fmt\" ) func main() { uInt8 := []uint8{0,1,2,3} var uInt32
Are you trying to the following?
t := []int{1, 2, 3, 4} s := make([]interface{}, len(t)) for i, v := range t { s[i] = v }