fix: library descriptions and links (#6518)
Corrected description of available librariestelegraf-config-update^2
parent
1177825f6e
commit
07bfb6f8cd
|
|
@ -141,12 +141,14 @@ following libraries are available for loading:
|
||||||
- json: `load("json.star", "json")` provides the functions `json.encode()`,
|
- json: `load("json.star", "json")` provides the functions `json.encode()`,
|
||||||
`json.decode()`, `json.indent()`. See json.star
|
`json.decode()`, `json.indent()`. See json.star
|
||||||
for an example. For more details about the functions, please refer to the
|
for an example. For more details about the functions, please refer to the
|
||||||
[library documentation](https://pkg.go.dev/go.starlark.net/lib/time).
|
[library documentation](https://pkg.go.dev/go.starlark.net/lib/json).
|
||||||
- log: `load("logging.star", "log")` provides the functions `log.debug()`,
|
- log: `load("logging.star", "log")` provides the functions `log.debug()`,
|
||||||
`log.info()`, `log.warn()`, `log.error()`. See
|
`log.info()`, `log.warn()`, `log.error()`. See logging.star` for an example.
|
||||||
logging.star` provides the function
|
- math: `load('math.star', 'math')` provides basic mathematical constants and functions.
|
||||||
[documented in the library](https://pkg.go.dev/go.starlark.net/lib/math). See
|
See math.star for an example. For more details, please refer to the
|
||||||
math.star`. See
|
[library documentation](https://pkg.go.dev/go.starlark.net/lib/math).
|
||||||
|
- time: `load('time.star', 'time')` provides time-related constants and functions.
|
||||||
|
See
|
||||||
time_date.star,
|
time_date.star,
|
||||||
time_duration.star and
|
time_duration.star and
|
||||||
time_timestamp.star for examples. For
|
time_timestamp.star for examples. For
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue