Iterate over only the first n items of an array in a Go template Iterate over only the first n items of an array in a Go template go go

Iterate over only the first n items of an array in a Go template