This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/reference/universe/random.md
Solomon Hykes d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00

1.1 KiB

sidebar_label
random

alpha.dagger.io/random

Random generation utilities

import "alpha.dagger.io/random"

random.#String

Generate a random string

random.#String Inputs

Name Type Description
seed string Seed of the random string to generate. When using the same seed, the same random string will be generated because of caching.
length *12 | number length of the string

random.#String Outputs

Name Type Description
out string generated random string