I couldn't get a simple interface cast to work, since well, it's just interface{}. However, I agree about the []int comment, so I changed List() to a variadic function which returns an internal struct.