MCPcopy Create free account
hub / github.com/cli/cli / numbers

Function numbers

pkg/cmd/issue/artifact/client/client_test.go:860–866  ·  view source on GitHub ↗

numbers returns the numbers from first to last.

(first, last int)

Source from the content-addressed store, hash-verified

858
859// numbers returns the numbers from first to last.
860func numbers(first, last int) []int {
861 n := make([]int, 0, last-first+1)
862 for i := first; i <= last; i++ {
863 n = append(n, i)
864 }
865 return n
866}

Callers 1

TestListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected