In Go is it possible to iterate over a custom type?
<p>I have a custom type which internally has a slice of data.</p>

<p>Is it possible, by implementing some functions or an interface that the range operator needs, to iterate (using range) over my custom type?</p>