Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
This commit is contained in:
25
vendor/github.com/Masterminds/sprig/docs/integer_slice.md
generated
vendored
Normal file
25
vendor/github.com/Masterminds/sprig/docs/integer_slice.md
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# Integer Slice Functions
|
||||
|
||||
## until
|
||||
|
||||
The `until` function builds a range of integers.
|
||||
|
||||
```
|
||||
until 5
|
||||
```
|
||||
|
||||
The above generates the list `[0, 1, 2, 3, 4]`.
|
||||
|
||||
This is useful for looping with `range $i, $e := until 5`.
|
||||
|
||||
## untilStep
|
||||
|
||||
Like `until`, `untilStep` generates a list of counting integers. But it allows
|
||||
you to define a start, stop, and step:
|
||||
|
||||
```
|
||||
untilStep 3 6 2
|
||||
```
|
||||
|
||||
The above will produce `[3 5]` by starting with 3, and adding 2 until it is equal
|
||||
or greater than 6. This is similar to Python's `range` function.
|
||||
Reference in New Issue
Block a user