mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
- update all the import statements - run hack/pin-dependency.sh to change pinned dependency versions - run hack/update-vendor.sh to update go.mod files and the vendor directory - update the method signatures for custom reporters Signed-off-by: Dave Chen <dave.chen@arm.com>
10 lines
151 B
Go
10 lines
151 B
Go
package internal
|
|
|
|
func MakeIncrementingIndexCounter() func() (int, error) {
|
|
idx := -1
|
|
return func() (int, error) {
|
|
idx += 1
|
|
return idx, nil
|
|
}
|
|
}
|