# Go Cheatsheet - Generate UUIDv4 String

Use 3rd-party package to generate uuidv4 string:

## Step 1

Install package:

```go
go get github.com/google/uuid
```

## Step 2

Call function:

```go
func main() {
    uuidStr := uuid.NewString()
    fmt.Println(uuidStr)
}
```
