> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xray.cool/llms.txt
> Use this file to discover all available pages before exploring further.

# uuid

> `uuid`函数主要是用来生成随机uuid的函数

## 函数原型

`func uuid() string`

## 举例

| 语句       | 结果                                     |
| -------- | -------------------------------------- |
| `uuid()` | `9fc1d7f8-43f0-11ef-b627-00ff2a3d4c75` |

可以使用在文件上传等需要一个uuid格式的地方。
