Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromToStep ¶
func FromToStep(from, to, step goutil.Number) channel.NumberChannel
Example ¶
package main
import (
"fmt"
"github.com/earthboundkid/goutil/ranging"
)
func main() {
for i := range ranging.FromToStep(5, -5, -2) {
fmt.Println(i)
}
}
Output: 5 3 1 -1 -3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.