23 lines
1.2 KiB
Markdown
23 lines
1.2 KiB
Markdown
|
# Sprig Function Documentation
|
||
|
|
||
|
The Sprig library provides over 70 template functions for Go's template language.
|
||
|
|
||
|
- [String Functions](strings.html): `trim`, `wrap`, `randAlpha`, `plural`, etc.
|
||
|
- [String List Functions](string_slice.html): `splitList`, `sortAlpha`, etc.
|
||
|
- [Math Functions](math.html): `add`, `max`, `mul`, etc.
|
||
|
- [Integer Slice Functions](integer_slice.html): `until`, `untilStep`
|
||
|
- [Date Functions](date.html): `now`, `date`, etc.
|
||
|
- [Defaults Functions](defaults.html): `default`, `empty`, `coalesce`
|
||
|
- [Encoding Functions](encoding.html): `b64enc`, `b64dec`, etc.
|
||
|
- [Lists and List Functions](lists.html): `list`, `first`, `uniq`, etc.
|
||
|
- [Dictionaries and Dict Functions](dicts.html): `dict`, `hasKey`, `pluck`, etc.
|
||
|
- [Type Conversion Functions](conversion.html): `atoi`, `int64`, `toString`, etc.
|
||
|
- [File Path Functions](paths.html): `base`, `dir`, `ext`, `clean`, `isAbs`
|
||
|
- Advanced Functions
|
||
|
- [UUID Functions](uuid.html): `uuidv4`
|
||
|
- [OS Functions](os.html): `env`, `expandenv`
|
||
|
- [Version Comparison Functions](semver.html): `semver`, `semverCompare`
|
||
|
- [Reflection](reflection.html): `typeOf`, `kindIs`, `typeIsLike`, etc.
|
||
|
- [Cryptographic and Security Functions](crypto.html): `derivePassword`, `sha256sum`, `genPrivateKey`
|
||
|
|