Skip to content

Instantly share code, notes, and snippets.

@capoferro
Last active January 2, 2016 13:29
Show Gist options
  • Save capoferro/8310391 to your computer and use it in GitHub Desktop.
Save capoferro/8310391 to your computer and use it in GitHub Desktop.
138 for _, i := range items.([]interface{}) {
139 x, _ := strconv.ParseInt(string(i.([]uint8)), 0, 0)
140
141 ints = append(ints, int(x))
142 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment